summaryrefslogtreecommitdiff
path: root/scripts/context/lua/mtxrun.lua
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/context/lua/mtxrun.lua')
-rw-r--r--scripts/context/lua/mtxrun.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/context/lua/mtxrun.lua b/scripts/context/lua/mtxrun.lua
index 261c00efd..92e438188 100644
--- a/scripts/context/lua/mtxrun.lua
+++ b/scripts/context/lua/mtxrun.lua
@@ -10204,9 +10204,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