From bd1cd4460609a8284bb92fd4a4c407f4cc7b68fb Mon Sep 17 00:00:00 2001 From: Domenic Denicola Date: Mon, 7 Aug 2023 12:25:51 +0900 Subject: [PATCH] Fix long reference handling Closes #153. --- src/wattsi.pas | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wattsi.pas b/src/wattsi.pas index e7dad94..0e2fd17 100644 --- a/src/wattsi.pas +++ b/src/wattsi.pas @@ -1588,11 +1588,11 @@ TCrossReferences = record NewLink := ConstructHTMLElement(eA); Scratch := Default(Rope); Scratch.Append('#refs'); - Scratch.Append(ReferenceName); + Scratch.Append(@ReferenceName); NewLink.SetAttributeDestructively('href', Scratch); Scratch := Default(Rope); Scratch.Append('['); - Scratch.Append(ReferenceName); + Scratch.Append(@ReferenceName); Scratch.Append(']'); NewLink.AppendChild(TText.CreateDestructively(Scratch)); (Node.ParentNode as TElement).ReplaceChild(NewLink, Node);