From 4e61f5851459c4b32111eaf6f59553ff04c8ffb1 Mon Sep 17 00:00:00 2001 From: AardCrowley Date: Thu, 23 Mar 2023 10:41:30 -0400 Subject: [PATCH] Update NoteExtender.xml --- NoteExtender/NoteExtender.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/NoteExtender/NoteExtender.xml b/NoteExtender/NoteExtender.xml index 10e84f7..2dcf6fd 100644 --- a/NoteExtender/NoteExtender.xml +++ b/NoteExtender/NoteExtender.xml @@ -144,8 +144,8 @@ function shouldHyperlink(str, tbl) subject = subject .. v.text end - postNo = postNo:gsub("[^%z\1-\127]+", ""):gsub("%s+$", "") - author = author:gsub("[^%z\1-\127]+", ""):gsub("%s+$", "") + postNo = postNo:gsub("[^%z\1-\127]+", ""):gsub("%s+", "") + author = author:gsub("[^%z\1-\127]+", ""):gsub("%s+", "") subject = subject:gsub("[^%z\1-\127]+", ""):gsub("%s+$", "") byteSubj = subject:gsub("%p", function(c) return string.format("\\%d", string.byte(c)) end) str = str:gsub("[^%z\1-\127]+", ""):gsub("%s+$", ""):gsub("%p", function(c) return string.format("\\%d", string.byte(c)) end )