From a2859242ff4762b94b3287da5c13f38a0d230225 Mon Sep 17 00:00:00 2001 From: Guillaume <1017720+gwilherm@users.noreply.github.com> Date: Fri, 1 Apr 2022 23:21:59 +0200 Subject: [PATCH] Move main link on header line of CommandReferenceMultilinesOverSeveral --- .../CommandReferenceMultilinesOverSeveral.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/net/sourceforge/plantuml/sequencediagram/command/CommandReferenceMultilinesOverSeveral.java b/src/net/sourceforge/plantuml/sequencediagram/command/CommandReferenceMultilinesOverSeveral.java index f9006a1e4..cbb6210ce 100644 --- a/src/net/sourceforge/plantuml/sequencediagram/command/CommandReferenceMultilinesOverSeveral.java +++ b/src/net/sourceforge/plantuml/sequencediagram/command/CommandReferenceMultilinesOverSeveral.java @@ -71,6 +71,8 @@ public class CommandReferenceMultilinesOverSeveral extends CommandMultilines 0) { - final UrlBuilder urlBuilder = new UrlBuilder(diagram.getSkinParam().getValue("topurl"), UrlMode.STRICT); - u = urlBuilder.getUrl(strings.get(0).toString()); - } - if (u != null) { - strings = strings.subList(1, strings.size()); + if (url != null) { + u = b.getUrl(url); } final HColor backColorGeneral = null;