avoid extra space in headline of generated Markdown
This commit is contained in:
parent
d565099f3b
commit
25823342e7
@ -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());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user