mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
Revert "Do not increment start for find(phrase) while looping over phrases"
This reverts commit e7b3b62b0b
.
The 'for phrase in' loop is organized differently to master.
Thanks Enrico
This commit is contained in:
parent
8bc4f490db
commit
1140ed1ed3
@ -756,6 +756,7 @@ def convert_phrases(document):
|
||||
continue
|
||||
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