diff options
author | Marius <mariausol@gmail.com> | 2011-11-25 15:00:16 +0200 |
---|---|---|
committer | Marius <mariausol@gmail.com> | 2011-11-25 15:00:16 +0200 |
commit | cb51203b1c95abfcde154919683561a27a28a7e5 (patch) | |
tree | da2f5ceff219bfc6f46cf4345c3ddb1ecbadbaa7 /tex/context/base/lxml-xml.lua | |
parent | 3c93a961f9579bc10a8a6cb0d30065d9791048a3 (diff) | |
download | context-cb51203b1c95abfcde154919683561a27a28a7e5.tar.gz |
beta 2011.11.25 13:29
Diffstat (limited to 'tex/context/base/lxml-xml.lua')
-rw-r--r-- | tex/context/base/lxml-xml.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tex/context/base/lxml-xml.lua b/tex/context/base/lxml-xml.lua index b216d7866..d87ad8b1b 100644 --- a/tex/context/base/lxml-xml.lua +++ b/tex/context/base/lxml-xml.lua @@ -163,9 +163,9 @@ end -- local function text(collected) -- hybrid - if collected and #collected > 0 then + if collected then -- no # test here ! local e = collected[1] or collected - return (e and xmltotext(e)) or "" + return e and xmltotext(e) or "" else return "" end |