1
0

wikilinks: remove single quotes (straight apostrophe) from urls

This commit is contained in:
Simon Michael
2024-01-18 09:33:16 -10:00
parent 1eb0311aee
commit f813f23d2c
4 changed files with 5 additions and 4 deletions

View File

@@ -14,7 +14,7 @@ function Link(el)
if el.title == "wikilink" then
t = el.target .. "#"
t = t:gsub(" ", "-")
-- t = t:gsub(t, "'", "")
t = t:gsub("'", "")
path, frag = t:match("([^#]*)#([^#]*)")
t = path
if not (