diff options
author | Marius <mariausol@gmail.com> | 2013-03-15 20:40:14 +0200 |
---|---|---|
committer | Marius <mariausol@gmail.com> | 2013-03-15 20:40:14 +0200 |
commit | 792b2ca2d206c2c90cc9967a8ae4916f53f902d7 (patch) | |
tree | 61a6b50fcad361326d0a7e6c305ab9d291d699e7 /tex/context/base/lxml-ctx.lua | |
parent | 5649bfe8b7ccdd5a8b02951fc9f6a0dbbdf48256 (diff) | |
download | context-792b2ca2d206c2c90cc9967a8ae4916f53f902d7.tar.gz |
beta 2013.03.15 19:22
Diffstat (limited to 'tex/context/base/lxml-ctx.lua')
-rw-r--r-- | tex/context/base/lxml-ctx.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tex/context/base/lxml-ctx.lua b/tex/context/base/lxml-ctx.lua index 3319dc638..968dbda71 100644 --- a/tex/context/base/lxml-ctx.lua +++ b/tex/context/base/lxml-ctx.lua @@ -23,7 +23,7 @@ function xml.ctx.enhancers.compound(root,lpath,before,tokens,after) -- todo lpeg local after = after or "[%a%d][%a%d][%a%d]" local pattern = "(" .. before .. ")(" .. tokens .. ")(" .. after .. ")" local action = function(a,b,c) - return a .. "<compound token=" .. format("%q",b) .. "/>" .. c + return a .. "<compound token=" .. format("%q",b) .. "/>" .. c -- formatters["%s<compound token=%q/>%s"](a,b,c) end xml.enhance(root,lpath,pattern,action) -- still present? end |