fix html attempt 2

This commit is contained in:
2026-06-19 17:19:26 +02:00
parent ef9ebe3512
commit a383de5a5f
3 changed files with 11 additions and 7 deletions

View File

@@ -124,9 +124,13 @@ public class PlantUml implements StateMachineExporter {
sb.append(" : [[#").append(linkId).append(" "); sb.append(" : [[#").append(linkId).append(" ");
if (!label.isEmpty()) { if (!label.isEmpty()) {
sb.append(label); String sanitized = label.replace("[", "[")
.replace("]", "]")
.replace("<", "&lt;")
.replace(">", "&gt;");
sb.append(sanitized);
} else { } else {
sb.append("<color:transparent>.</color>"); sb.append(".");
} }
sb.append("]]"); sb.append("]]");
} else if (!label.isEmpty()) { } else if (!label.isEmpty()) {

View File

@@ -137,7 +137,7 @@
"name" : "JMS: shipping.queue", "name" : "JMS: shipping.queue",
"className" : "click.kamil.examples.enterprise.messaging.ShippingJmsListener", "className" : "click.kamil.examples.enterprise.messaging.ShippingJmsListener",
"methodName" : "onShippingReady", "methodName" : "onShippingReady",
"sourceFile" : null, "sourceFile" : "src/main/java/click/kamil/examples/enterprise/messaging/ShippingJmsListener.java",
"metadata" : { "metadata" : {
"protocol" : "JMS", "protocol" : "JMS",
"destination" : "shipping.queue" "destination" : "shipping.queue"
@@ -152,7 +152,7 @@
"name" : "RABBIT: returns.queue", "name" : "RABBIT: returns.queue",
"className" : "click.kamil.examples.enterprise.messaging.ReturnsRabbitListener", "className" : "click.kamil.examples.enterprise.messaging.ReturnsRabbitListener",
"methodName" : "onReturn", "methodName" : "onReturn",
"sourceFile" : null, "sourceFile" : "src/main/java/click/kamil/examples/enterprise/messaging/ReturnsRabbitListener.java",
"metadata" : { "metadata" : {
"protocol" : "RABBIT", "protocol" : "RABBIT",
"destination" : "returns.queue" "destination" : "returns.queue"
@@ -292,7 +292,7 @@
"name" : "JMS: shipping.queue", "name" : "JMS: shipping.queue",
"className" : "click.kamil.examples.enterprise.messaging.ShippingJmsListener", "className" : "click.kamil.examples.enterprise.messaging.ShippingJmsListener",
"methodName" : "onShippingReady", "methodName" : "onShippingReady",
"sourceFile" : null, "sourceFile" : "src/main/java/click/kamil/examples/enterprise/messaging/ShippingJmsListener.java",
"metadata" : { "metadata" : {
"protocol" : "JMS", "protocol" : "JMS",
"destination" : "shipping.queue" "destination" : "shipping.queue"
@@ -326,7 +326,7 @@
"name" : "RABBIT: returns.queue", "name" : "RABBIT: returns.queue",
"className" : "click.kamil.examples.enterprise.messaging.ReturnsRabbitListener", "className" : "click.kamil.examples.enterprise.messaging.ReturnsRabbitListener",
"methodName" : "onReturn", "methodName" : "onReturn",
"sourceFile" : null, "sourceFile" : "src/main/java/click/kamil/examples/enterprise/messaging/ReturnsRabbitListener.java",
"metadata" : { "metadata" : {
"protocol" : "RABBIT", "protocol" : "RABBIT",
"destination" : "returns.queue" "destination" : "returns.queue"

View File

@@ -66,7 +66,7 @@
"name" : "JMS: order.queue", "name" : "JMS: order.queue",
"className" : "click.kamil.maven.api.JmsOrderListener", "className" : "click.kamil.maven.api.JmsOrderListener",
"methodName" : "onMessage", "methodName" : "onMessage",
"sourceFile" : null, "sourceFile" : "api-module/src/main/java/click/kamil/maven/api/JmsOrderListener.java",
"metadata" : { "metadata" : {
"protocol" : "JMS", "protocol" : "JMS",
"destination" : "order.queue" "destination" : "order.queue"