File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
graphviz-java/src/main/java/guru/nidi/graphviz/engine Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -152,7 +152,7 @@ public String toJson(boolean raw) {
152152 final String eng = ",engine:'" + (raw ? engine : engine .toString ().toLowerCase (ENGLISH )) + "'" ;
153153 final String mem = totalMemory == null ? "" : (",totalMemory:'" + totalMemory + "'" );
154154 final String yInv = yInvert == null ? "" : (",yInvert:" + yInvert );
155- final String base = ",basedir:'" + basedir .getAbsolutePath () + "'" ;
155+ final String base = ",basedir:'" + SystemUtils . uriPathOf ( basedir .getAbsolutePath () ) + "'" ;
156156 final String imgs = ",images:[" + images .stream ().map (Image ::toJson ).collect (joining ("," )) + "]" ;
157157 return "{" + form + eng + mem + yInv + base + imgs + "}" ;
158158 }
You can’t perform that action at this time.
0 commit comments