We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 993fa6b commit ab6679eCopy full SHA for ab6679e
src/resources/filters/qmd-reader.lua
@@ -104,7 +104,8 @@ function unescape_invalid_tags(str, tags)
104
-- replace all lua special replacement characters with their
105
-- escaped versions, so that when we restore the behavior,
106
-- we don't accidentally create a pattern
107
- str = str:gsub(replacement, k:gsub("([$%%])", "%%%1"))
+ local result = k:gsub("([$%%])", "%%%1")
108
+ str = str:gsub(replacement, result)
109
end
110
return str
111
0 commit comments