diff --git a/tools/2xep.lua b/tools/2xep.lua index 85db6756..3ca9ed37 100644 --- a/tools/2xep.lua +++ b/tools/2xep.lua @@ -139,6 +139,7 @@ end -- Comments indicate the types of other variables. function Str(s) + if string.match(s, "^&[%w%-.]+;$") then return s; end return escape(s) end