mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 01:59:02 +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.
(cherry picked from commit a96845660e
)
This commit is contained in:
parent
7de98f7dbc
commit
e7b3b62b0b
@ -756,7 +756,6 @@ 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