escape more in code tags
This commit is contained in:
parent
749e1fc069
commit
6e5c34ebdd
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user