From 4a1948593d2e6e4e8a767194e063bf57e93771e1 Mon Sep 17 00:00:00 2001 From: Andre Bossert Date: Sat, 28 May 2022 12:10:40 +0200 Subject: [PATCH] Preserve classy stdlib includes (#1275) --- server/src/main/java/io/kroki/server/service/Plantuml.java | 1 + .../test/java/io/kroki/server/service/PlantumlServiceTest.java | 1 + 2 files changed, 2 insertions(+) diff --git a/server/src/main/java/io/kroki/server/service/Plantuml.java b/server/src/main/java/io/kroki/server/service/Plantuml.java index 2c63a0991..bb8e36093 100644 --- a/server/src/main/java/io/kroki/server/service/Plantuml.java +++ b/server/src/main/java/io/kroki/server/service/Plantuml.java @@ -108,6 +108,7 @@ public class Plantuml implements DiagramService { "awslib", "azure", "c4", + "classy", "cloudinsight", "cloudogu", "domainstory", diff --git a/server/src/test/java/io/kroki/server/service/PlantumlServiceTest.java b/server/src/test/java/io/kroki/server/service/PlantumlServiceTest.java index be9757691..9473668fc 100644 --- a/server/src/test/java/io/kroki/server/service/PlantumlServiceTest.java +++ b/server/src/test/java/io/kroki/server/service/PlantumlServiceTest.java @@ -174,6 +174,7 @@ void should_preserve_valid_lib_include() throws IOException { "!include \n" + "!include \n" + "!include \n" + + "!include \n" + "!include \n" + "!include \n" + "!include \n" +