Skip to content

Commit

Permalink
do not use config and encoding settings for testdot
Browse files Browse the repository at this point in the history
  • Loading branch information
krasa committed Apr 11, 2019
1 parent d84ceea commit f151df3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public void renderAndSave(String source, @Nullable File baseDir, PlantUml.ImageF
Utils.setPlantUmlDir(baseDir);
}
PlantUmlIncludes.commitIncludes(source, baseDir);
SourceStringReader reader = Utils.newSourceStringReader(source);
SourceStringReader reader = Utils.newSourceStringReader(source, true);

zoomDiagram(reader, zoom);

Expand Down
3 changes: 0 additions & 3 deletions src/org/plantuml/idea/util/Utils.java
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,4 @@ public static SourceStringReader newSourceStringReader(String source, boolean us
return new SourceStringReader(Defines.createEmpty(), source, encoding, configAsList);
}

public static SourceStringReader newSourceStringReader(String source) {
return newSourceStringReader(source, true);
}
}

0 comments on commit f151df3

Please sign in to comment.