mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 05:16:21 +00:00
Fix endless loop in lyx2lyx reversion routine
This commit is contained in:
parent
1ef2f135d2
commit
7e161a9d5d
@ -1044,9 +1044,10 @@ def revert_mathml_version(document):
|
||||
# nothing to do
|
||||
break
|
||||
|
||||
# remove XHTML header if using the new value, leave alone otherwise.
|
||||
# reset XHTML header if using the new value, leave alone otherwise.
|
||||
if "4" in document.header[i]:
|
||||
document.header[i] = "\\html_math_output 0"
|
||||
break
|
||||
|
||||
while True:
|
||||
i = find_token(document.header, "\\docbook_mathml_version", 0)
|
||||
|
Loading…
Reference in New Issue
Block a user