[BUGFIX] Trick to avoid a lot of IllegalStateException
This commit is contained in:
@@ -164,7 +164,7 @@ public class PlantUmlServlet extends HttpServlet {
|
||||
}
|
||||
response.setContentType("image/png");
|
||||
SourceStringReader reader = new SourceStringReader(uml);
|
||||
reader.generateImage(response.getOutputStream(), new FileFormatOption(FileFormat.PNG));
|
||||
reader.generateImage(response.getOutputStream(), new FileFormatOption(FileFormat.PNG, false));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user