From a21db9a22005dc8620acf3dbcc2eaa39d825a8e1 Mon Sep 17 00:00:00 2001 From: AardCrowley Date: Mon, 6 Mar 2023 19:03:45 -0500 Subject: [PATCH] Fixed a spacing bug. --- NoteExtender/NoteExtender.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NoteExtender/NoteExtender.xml b/NoteExtender/NoteExtender.xml index db59bda..f6a840f 100644 --- a/NoteExtender/NoteExtender.xml +++ b/NoteExtender/NoteExtender.xml @@ -133,7 +133,7 @@ function hyperlinknotes(lines) else for j,k in ipairs(v) do if j == 2 then - Hyperlink(prefix .. "Execute('note read " .. k.text .. "')", k.text, "", RGBColourToName(k.textcolour), RGBColourToName(k.backcolour)) + Hyperlink(prefix .. "Execute('note read " .. string.gsub(k.text, " ", "") .. "')", k.text, "", RGBColourToName(k.textcolour), RGBColourToName(k.backcolour)) else ColourTell(RGBColourToName(k.textcolour), RGBColourToName(k.backcolour), k.text) end