Fix XML escaping
This commit is contained in:
parent
9005c304d7
commit
7a52f5580b
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ local escapes = {
|
|||
['&'] = "&",
|
||||
}
|
||||
local function escape_text(text)
|
||||
return string.gsub(tostring(text), '("<>&)', escapes)
|
||||
return string.gsub(tostring(text), '["<>&]', escapes)
|
||||
end
|
||||
|
||||
local attrs = {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue