Archived
1
0

try fixing escaping

This commit is contained in:
Jeff Becker 2017-01-29 14:42:40 -05:00
parent 7c8129c42e
commit c5fa3ad4a2

View File

@ -31,9 +31,9 @@ function pre_text(str)
str = str:gsub("%)", ")") str = str:gsub("%)", ")")
str = str:gsub("%[", "[") str = str:gsub("%[", "[")
str = str:gsub("\\", "\") str = str:gsub("\\", "\")
str = str:gsub("/", "/") -- str = str:gsub("/", "/")
str = str:gsub("%]", "]") str = str:gsub("%]", "]")
str = str:gsub("=", "=") str = str:gsub("==", "==")
str = str:gsub("@", "@") str = str:gsub("@", "@")
return span_text("code", str:gsub("%|", "|")) return span_text("code", str:gsub("%|", "|"))
end end