diff options
Diffstat (limited to 'Master/texmf-dist/tex/context/base/mkiv/typo-prc.lua')
-rw-r--r-- | Master/texmf-dist/tex/context/base/mkiv/typo-prc.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/context/base/mkiv/typo-prc.lua b/Master/texmf-dist/tex/context/base/mkiv/typo-prc.lua index cde66df0087..2704149db99 100644 --- a/Master/texmf-dist/tex/context/base/mkiv/typo-prc.lua +++ b/Master/texmf-dist/tex/context/base/mkiv/typo-prc.lua @@ -41,9 +41,9 @@ local becomes = P('->') local processor = (1-becomes)^1 local splitter = C(processor) * becomes * Cs(patterns.argument + patterns.content) -function processors.split(str) +function processors.split(str,nocheck) local p, s = lpegmatch(splitter,str) - if registered[p] then + if p and (nocheck or registered[p]) then return p, s else return false, str |