mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-25 10:58:52 +00:00
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:
parent
771bb50552
commit
67178df979
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user