summaryrefslogtreecommitdiff
path: root/tex/context/modules/mkiv/x-ct.lua
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/modules/mkiv/x-ct.lua')
-rw-r--r--tex/context/modules/mkiv/x-ct.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/tex/context/modules/mkiv/x-ct.lua b/tex/context/modules/mkiv/x-ct.lua
index 9c647e8e7..d9d474825 100644
--- a/tex/context/modules/mkiv/x-ct.lua
+++ b/tex/context/modules/mkiv/x-ct.lua
@@ -37,7 +37,7 @@ local function roottemplate(root)
if template then
return template
else
- if not find(rt,"|") then
+ if not find(rt,"|",1,true) then
rt = gsub(rt,",","|")
end
if not find(rt,"^|") then rt = "|" .. rt end