Fix lyx2lyx bug reported by Herbert Voss.

For some reason, files converted from really old versions have fewer
lines in reference insets than in more recent versions.
This commit is contained in:
Richard Kimberly Heck 2023-06-16 01:21:56 -04:00
parent 771bb50552
commit 67178df979

View File

@ -4623,7 +4623,7 @@ def convert_starred_refs(document):
document.warning("Malformed LyX document: Can't find end of inset at line %d" % i)
i += 1
continue
newlineat = end - 2
newlineat = end - 1
document.body.insert(newlineat, "nolink \"false\"")
i = end + 1