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);