summaryrefslogtreecommitdiff
path: root/tex/context/base/mkiv/char-utf.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/base/mkiv/char-utf.lua
parent852668a65c878fee10d21fb7cefafb390e083075 (diff)
downloadcontext-87d82131e6359a9bb3fb4e85e2f26f6864de8ac9.tar.gz
2017-06-30 19:51:00
Diffstat (limited to 'tex/context/base/mkiv/char-utf.lua')
-rw-r--r--tex/context/base/mkiv/char-utf.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/tex/context/base/mkiv/char-utf.lua b/tex/context/base/mkiv/char-utf.lua
index 5b677dbac..901beef6d 100644
--- a/tex/context/base/mkiv/char-utf.lua
+++ b/tex/context/base/mkiv/char-utf.lua
@@ -191,7 +191,7 @@ function utffilters.collapse(str,filename)
if not p_collapse then
prepare()
end
- if not str or #str == "" or #str == 1 then
+ if not str or str == "" or #str == 1 then
return str
elseif filename and skippable[filesuffix(filename)] then -- we could hash the collapsables or do a quicker test
return str
@@ -214,7 +214,7 @@ function utffilters.decompose(str,filename) -- 3 to 4 times faster than the abov
if str and str ~= "" and #str > 1 then
return lpegmatch(p_decompose,str)
end
- if not str or #str == "" or #str < 2 then
+ if not str or str == "" or #str < 2 then
return str
elseif filename and skippable[filesuffix(filename)] then
return str
@@ -339,7 +339,7 @@ function utffilters.reorder(str,filename)
if not p_reorder then
prepare()
end
- if not str or #str == "" or #str < 2 then
+ if not str or str == "" or #str < 2 then
return str
elseif filename and skippable[filesuffix(filename)] then
return str