mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-07-11 18:28:11 +00:00
Escaping in P-code Graphviz exporter (Problems with graphs containing backslash strings)
This commit is contained in:
@@ -131,6 +131,7 @@ public class PcodeGraphVizExporter {
|
||||
}
|
||||
}
|
||||
String labelStr = blkCodeBuilder.toString();
|
||||
labelStr = labelStr.replace("\\", "\\\\");
|
||||
labelStr = labelStr.replace("\"", "\\\"");
|
||||
labelStr = labelStr.replace("\r\n", "\\l");
|
||||
String partBlockName = getBlockName(graphSource, part);
|
||||
|
||||
Reference in New Issue
Block a user