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