From: Juergen Spitzmueller Date: Sat, 17 Aug 2024 14:55:23 +0000 (+0200) Subject: another lyx2lyx fix for index X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=ccdf8ba7019cae64b4daab101f1825f14b88773b;p=lyx.git another lyx2lyx fix for index --- diff --git a/lib/lyx2lyx/lyx_2_5.py b/lib/lyx2lyx/lyx_2_5.py index c93a3bfc21..e3de465948 100644 --- a/lib/lyx2lyx/lyx_2_5.py +++ b/lib/lyx2lyx/lyx_2_5.py @@ -661,8 +661,6 @@ def convert_index_sc(document): line = document.body[k] chunks = line.split(ec) repl = [] - if line[0] == ec: - repl = put_cmd_in_ert(ec) chunks_len = len(chunks)-1 for ch in chunks[:-1]: repl += [ch]