commit c8fe57580a1936e87c9e8315df2dd83e8847fde9
Author: Thibaut Cuvelier <[email protected]>
Date:   Mon Nov 4 00:54:03 2024 +0100

    Add a missing subscript in lyx2lyx.
---
 lib/lyx2lyx/lyx_2_5.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/lyx2lyx/lyx_2_5.py b/lib/lyx2lyx/lyx_2_5.py
index b732c06765..b514c26aff 100644
--- a/lib/lyx2lyx/lyx_2_5.py
+++ b/lib/lyx2lyx/lyx_2_5.py
@@ -1045,7 +1045,7 @@ def revert_mathml_version(document):
             break
 
         # remove XHTML header if using the new value, leave alone otherwise.
-        if "4" in document.header:
+        if "4" in document.header[i]:
             document.header[i] = "\\html_math_output 0"
 
     while True:
-- 
lyx-cvs mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-cvs

Reply via email to