mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 21:21:32 +00:00
parent
d193cd05a8
commit
8c219daeeb
@ -1373,11 +1373,11 @@ def revert_jss(document):
|
|||||||
i = 0
|
i = 0
|
||||||
while True:
|
while True:
|
||||||
i = find_token(document.body, "\\begin_inset Flex " + iltype, i)
|
i = find_token(document.body, "\\begin_inset Flex " + iltype, i)
|
||||||
if i != -1:
|
if i == -1:
|
||||||
break
|
break
|
||||||
|
|
||||||
if iltype == "Code" and document.body[i][-1] != "e":
|
if document.body[i] != "\\begin_inset Flex " + iltype:
|
||||||
# Code Chunk inset. Continue
|
# Not an exact match!
|
||||||
i += 1
|
i += 1
|
||||||
continue
|
continue
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user