Strange Rpi bugfix

This commit is contained in:
Alexis Gavoty 2013-12-14 10:22:30 +01:00
parent d5e2fb464a
commit d1cd8f0e9a

View file

@ -23,7 +23,7 @@ local function merge_environment(...)
end end
local function escape(str) local function escape(str)
return str:gsub('[&"<>\]', function(c) return str:gsub('[&"<>]', function(c)
if c == '&' then return '&amp;' if c == '&' then return '&amp;'
elseif c == '"' then return '\"' elseif c == '"' then return '\"'
elseif c == '\\' then return '\\\\' elseif c == '\\' then return '\\\\'