thinko!
This commit is contained in:
Juergen Spitzmueller 2019-01-06 15:19:50 +01:00
parent d193cd05a8
commit 8c219daeeb

View File

@ -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