diff --git a/src/main/java/net/hostsharing/hsadminng/rbac/rbacdef/RbacViewMermaidFlowchartGenerator.java b/src/main/java/net/hostsharing/hsadminng/rbac/rbacdef/RbacViewMermaidFlowchartGenerator.java index 089f27ae..96a956e5 100644 --- a/src/main/java/net/hostsharing/hsadminng/rbac/rbacdef/RbacViewMermaidFlowchartGenerator.java +++ b/src/main/java/net/hostsharing/hsadminng/rbac/rbacdef/RbacViewMermaidFlowchartGenerator.java @@ -165,7 +165,7 @@ public class RbacViewMermaidFlowchartGenerator { Files.writeString( path, """ - ### rbac %{entityAlias} %{case} + ### rbac %{entityAlias}%{case} This code generated was by RbacViewMermaidFlowchartGenerator, do not amend manually. @@ -175,7 +175,7 @@ public class RbacViewMermaidFlowchartGenerator { """ .replace("%{entityAlias}", rbacDef.getRootEntityAlias().aliasName()) .replace("%{flowchart}", flowchart.toString()) - .replace("%{case}", forCase == null ? "" : (forCase.toString()) ), + .replace("%{case}", forCase == null ? "" : " " + forCase), StandardOpenOption.CREATE, StandardOpenOption.TRUNCATE_EXISTING); System.out.println("Markdown-File: " + path.toAbsolutePath()); }