Escape '&' -> '&'

#823
This commit is contained in:
Mikhael-Danilov 2017-06-21 00:51:14 +03:00 committed by GitHub
parent 3e4ebb8acc
commit 0f0647f011

View File

@ -30,6 +30,7 @@
local result = value:gsub('"', '\\"')
result = result:gsub('<', '&lt;')
result = result:gsub('>', '&gt;')
result = result:gsub('&', '&amp;')
return result
end