Browse Source

Pass trough entity references into markdown

In order to allow e.g. &xepnnnn; references in text.
master
Kim Alvefur 2 years ago
parent
commit
e7e1fca3bf
  1. 1
      tools/2xep.lua

1
tools/2xep.lua

@ -139,6 +139,7 @@ end @@ -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

Loading…
Cancel
Save