diff options
author | Karl Berry <karl@freefriends.org> | 2018-02-09 22:37:12 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2018-02-09 22:37:12 +0000 |
commit | 0c27d66da3ffc60c573dd310ece80c762b2bbd0f (patch) | |
tree | 613b51549bd18c73ce7d5fdb68a397fd8764b458 /Master/texmf-dist/tex/luatex/luaxml/luaxml-domobject.lua | |
parent | ec193f4df1f9e5166fef311864f2924eebd20a40 (diff) |
luaxml (9feb18)
git-svn-id: svn://tug.org/texlive/trunk@46582 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/luatex/luaxml/luaxml-domobject.lua')
-rw-r--r-- | Master/texmf-dist/tex/luatex/luaxml/luaxml-domobject.lua | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/luatex/luaxml/luaxml-domobject.lua b/Master/texmf-dist/tex/luatex/luaxml/luaxml-domobject.lua index 7047c76a937..46be64803b3 100644 --- a/Master/texmf-dist/tex/luatex/luaxml/luaxml-domobject.lua +++ b/Master/texmf-dist/tex/luatex/luaxml/luaxml-domobject.lua @@ -14,7 +14,8 @@ local escapes = { ["<"] = "<", ["&"] = "&", ['"'] = """, - ["'"] = "'" + ["'"] = "'", + ["`"] = "`" } local function escape(search, text) @@ -28,7 +29,7 @@ local function escape_element(text) end local function escape_attr(text) - return escape("([<>&\"'])", text) + return escape("([<>&\"'`])", text) end local actions = { |