Commit 485f0338 authored by Andreas Jung's avatar Andreas Jung

Collector #207: fixed problem with inner links

parent c328d480
......@@ -536,7 +536,7 @@ class DocumentClass:
return None
else:
# the .. is somewhere else, ignore it
return (StructuredTextInnerLink(s[start2+1,end2-1],start2,end2))
return (StructuredTextInnerLink(s[start2+1,end2-1]),start2,end2)
return None
elif expr2(s) and not expr1(s):
start,end = expr2(s).span()
......
......@@ -833,7 +833,7 @@ class DocumentClass:
return None
else:
# the .. is somewhere else, ignore it
return (StructuredTextInnerLink(s[start2+1:end2-1],start2,end2))
return (StructuredTextInnerLink(s[start2+1:end2-1]),start2,end2)
return None
elif expr2(s) and not expr1(s):
start,end = expr2(s).span()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment