mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
Amend 4966da68
This commit is contained in:
parent
4966da6864
commit
bbfff0e60f
@ -4637,8 +4637,7 @@ def convert_starred_refs(document):
|
||||
noprefixline = document.body[i + 5]
|
||||
document.warning(noprefixline)
|
||||
if not noprefixline.startswith("noprefix"):
|
||||
document.warning("Malformed LyX document: No noprefix line. We will do the best we can.")
|
||||
newlineat = end - 2
|
||||
document.warning("Malformed LyX document: noprefix line not found where it should be.")
|
||||
else:
|
||||
newlineat = i + 6
|
||||
document.body.insert(newlineat, "nolink \"false\"")
|
||||
|
Loading…
Reference in New Issue
Block a user