diff options
author | Hans Hagen <pragma@wxs.nl> | 2008-01-11 12:09:00 +0100 |
---|---|---|
committer | Hans Hagen <pragma@wxs.nl> | 2008-01-11 12:09:00 +0100 |
commit | 7c1a1b89fbaa2bfad94ca825c4b734e459993654 (patch) | |
tree | 2e70a1a84a9dc33b72c63a8a44e575f76643f497 /tex/context/base/l-xml.lua | |
parent | f5db49f15c3f9ec7dba40d6120b89df2cd0030ff (diff) | |
download | context-7c1a1b89fbaa2bfad94ca825c4b734e459993654.tar.gz |
stable 2008.01.11 12:09
Diffstat (limited to 'tex/context/base/l-xml.lua')
-rw-r--r-- | tex/context/base/l-xml.lua | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tex/context/base/l-xml.lua b/tex/context/base/l-xml.lua index 685907df0..e3227f374 100644 --- a/tex/context/base/l-xml.lua +++ b/tex/context/base/l-xml.lua @@ -519,7 +519,7 @@ do else if ats then -- handle(format("<%s:%s %s/>",ens,etg,table.concat(ats," "))) - handle("<" .. ens .. ":" .. etg .. table.concat(ats," ") .. "/>") + handle("<" .. ens .. ":" .. etg .. " " .. table.concat(ats," ") .. "/>") else -- handle(format("<%s:%s/>",ens,etg)) handle("<" .. ens .. ":" .. "/>") @@ -543,7 +543,7 @@ do else if ats then -- handle(format("<%s %s/>",etg,table.concat(ats," "))) - handle("<" .. etg .. table.concat(ats," ") .. "/>") + handle("<" .. etg .. " " .. table.concat(ats," ") .. "/>") else -- handle(format("<%s/>",etg)) handle("<" .. etg .. "/>") @@ -1874,7 +1874,7 @@ do if unicode and unicode.utf8 then function xml.utfize_text(str) if str:find("&#") then - return str:gsub("&#x(.-);",toutf) + return (str:gsub("&#x(.-);",toutf)) else return str end @@ -1882,7 +1882,7 @@ do if unicode and unicode.utf8 then function xml.resolve_text_entities(str) if str:find("&") then - return str:gsub("&(.-);",resolve) + return (str:gsub("&(.-);",resolve)) else return str end @@ -1890,7 +1890,7 @@ do if unicode and unicode.utf8 then function xml.show_text_entities(str) if str:find("&") then - return str:gsub("&(.-);","[%1]") + return (str:gsub("&(.-);","[%1]")) else return str end |