summaryrefslogtreecommitdiff
path: root/tex/context/base/strc-rsc.lua
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/strc-rsc.lua')
-rw-r--r--tex/context/base/strc-rsc.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/tex/context/base/strc-rsc.lua b/tex/context/base/strc-rsc.lua
index a90f577e3..e2105a4ef 100644
--- a/tex/context/base/strc-rsc.lua
+++ b/tex/context/base/strc-rsc.lua
@@ -67,11 +67,11 @@ local function splitreference(str)
local t = lpegmatch(referencesplitter,str)
if t then
local a = t.arguments
- if a and find(a,"\\") then
+ if a and find(a,"\\",1,true) then
t.has_tex = true
else
local o = t.arguments
- if o and find(o,"\\") then
+ if o and find(o,"\\",1,true) then
t.has_tex = true
end
end