fix convert_index_sc method

This commit is contained in:
Juergen Spitzmueller 2024-08-15 08:05:31 +02:00
parent eb16ecf8b6
commit a6fbb8677e

View File

@ -661,8 +661,6 @@ def convert_index_sc(document):
repl += [ch]
repl += put_cmd_in_ert(ec)
repl += chunks[-1:]
if line[-1:] == ec:
repl += put_cmd_in_ert(ec)
document.body[k:k+1] = repl
i += 1