diff options
Diffstat (limited to 'tex/context/base/core-two.lua')
-rw-r--r-- | tex/context/base/core-two.lua | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tex/context/base/core-two.lua b/tex/context/base/core-two.lua index f81b578ad..24a3191a7 100644 --- a/tex/context/base/core-two.lua +++ b/tex/context/base/core-two.lua @@ -124,12 +124,14 @@ end function jobpasses.getdata(id,index,default) local jti = collected[id] - texprint((jit and jti[index]) or default) + local value = jit and jti[index] + texprint((value ~= "" and value) or default or "") end function jobpasses.getfield(id,index,tag,default) local jti = collected[id] jti = jti and jti[index] - texprint((jti and jti[tag]) or default) + local value = jti and jti[tag] + texprint((value ~= "" and value) or default or "") end |