fix html attempt 2
This commit is contained in:
@@ -124,9 +124,13 @@ public class PlantUml implements StateMachineExporter {
|
||||
|
||||
sb.append(" : [[#").append(linkId).append(" ");
|
||||
if (!label.isEmpty()) {
|
||||
sb.append(label);
|
||||
String sanitized = label.replace("[", "[")
|
||||
.replace("]", "]")
|
||||
.replace("<", "<")
|
||||
.replace(">", ">");
|
||||
sb.append(sanitized);
|
||||
} else {
|
||||
sb.append("<color:transparent>.</color>");
|
||||
sb.append(".");
|
||||
}
|
||||
sb.append("]]");
|
||||
} else if (!label.isEmpty()) {
|
||||
|
||||
Reference in New Issue
Block a user