mirror of
https://github.com/moparisthebest/xeps
synced 2024-12-11 10:22:19 -05:00
Pass trough entity references into markdown
In order to allow e.g. &xepnnnn; references in text.
This commit is contained in:
parent
0ccc34d1cf
commit
e7e1fca3bf
@ -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…
Reference in New Issue
Block a user