Archived
1
0

escape more in code tags

This commit is contained in:
Jeff Becker 2017-01-29 09:52:05 -05:00
parent 749e1fc069
commit 6e5c34ebdd

View File

@ -18,6 +18,12 @@ function psy_text(str)
end
function pre_text(str)
str = str:gsub("%(", "(")
str = str:gsub("%)", ")")
str = str:gsub("%[", "[")
str = str:gsub("\\", "\")
str = str:gsub("%]", "]")
return span_text("code", str:gsub("%|", "|"))
end