summaryrefslogtreecommitdiff
path: root/tex/context/base/lxml-tab.lua
diff options
context:
space:
mode:
authorMarius <mariausol@gmail.com>2011-06-23 20:40:17 +0300
committerMarius <mariausol@gmail.com>2011-06-23 20:40:17 +0300
commit1f49aee839e281d04be7b6cb6f959590bed1d581 (patch)
treeecca5409a1481e7f99dc407735bb76730e7aff2d /tex/context/base/lxml-tab.lua
parent06465c8428905be5c083c70f4e7de6a59d129139 (diff)
downloadcontext-1f49aee839e281d04be7b6cb6f959590bed1d581.tar.gz
beta 2011.06.23 19:25
Diffstat (limited to 'tex/context/base/lxml-tab.lua')
-rw-r--r--tex/context/base/lxml-tab.lua5
1 files changed, 0 insertions, 5 deletions
diff --git a/tex/context/base/lxml-tab.lua b/tex/context/base/lxml-tab.lua
index 1df41eb33..d114bb83d 100644
--- a/tex/context/base/lxml-tab.lua
+++ b/tex/context/base/lxml-tab.lua
@@ -390,9 +390,7 @@ local function handle_any_entity(str)
if resolve then
local a = acache[str] -- per instance ! todo
if not a then
-print(">1",str,a)
a = resolve_predefined and predefined_simplified[str]
-print(">2",str,a)
if a then
-- one of the predefined
elseif type(resolve) == "function" then
@@ -400,7 +398,6 @@ print(">2",str,a)
else
a = entities[str]
end
-print(">3",str,a)
if a then
if type(a) == "function" then
if trace_entities then
@@ -408,9 +405,7 @@ if type(a) == "function" then
end
a = a(str) or ""
end
-print(">4",str,a)
a = lpegmatch(parsedentity,a) or a
-print(">5",str,a)
if trace_entities then
report_xml("resolved entity &%s; -> %s (internal)",str,a)
end