summaryrefslogtreecommitdiff
path: root/tex/context/modules/mkiv/x-asciimath.lua
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2017-06-30 20:42:23 +0200
committerContext Git Mirror Bot <phg42.2a@gmail.com>2017-06-30 20:42:23 +0200
commit87d82131e6359a9bb3fb4e85e2f26f6864de8ac9 (patch)
treed9a1ff89b1167c926e7c12d0664b5923ba695b6b /tex/context/modules/mkiv/x-asciimath.lua
parent852668a65c878fee10d21fb7cefafb390e083075 (diff)
downloadcontext-87d82131e6359a9bb3fb4e85e2f26f6864de8ac9.tar.gz
2017-06-30 19:51:00
Diffstat (limited to 'tex/context/modules/mkiv/x-asciimath.lua')
-rw-r--r--tex/context/modules/mkiv/x-asciimath.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/tex/context/modules/mkiv/x-asciimath.lua b/tex/context/modules/mkiv/x-asciimath.lua
index 75f4b06fd..07cf12306 100644
--- a/tex/context/modules/mkiv/x-asciimath.lua
+++ b/tex/context/modules/mkiv/x-asciimath.lua
@@ -1934,7 +1934,7 @@ local uncrapped = {
}
local function convert(str,nowrap)
- if #str > 0 then
+ if str ~= "" then
local unicoded = lpegmatch(u_parser,str) or str
if lpegmatch(p_onechar,unicoded) then
ctx_mathematics(uncrapped[unicoded] or unicoded)