mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 05:16:21 +00:00
Do not increment start for find(phrase) while looping over phrases
The increment will be done at the end of the for-loop.
This commit is contained in:
parent
b286c6d235
commit
a96845660e
@ -758,7 +758,6 @@ def convert_phrases(document):
|
||||
for phrase in phrases:
|
||||
j = document.body[i].find(phrase)
|
||||
if j == -1:
|
||||
i += 1
|
||||
continue
|
||||
if not is_part_of_converted_phrase(document.body[i], j, phrase):
|
||||
front = document.body[i][:j]
|
||||
|
Loading…
Reference in New Issue
Block a user