]> git.lyx.org Git - lyx.git/commit
Fixup 216a6fb3: fix broken xml syntax
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Tue, 23 Jul 2024 13:04:49 +0000 (15:04 +0200)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Tue, 23 Jul 2024 17:52:12 +0000 (19:52 +0200)
commita268fe096a58a7818554a7da4da85896bb289c81
tree48baafb0095968f84850059399422718bb5990df
parentfb919e653d4aac70101ced9dbabcd340d070258a
Fixup 216a6fb3: fix broken xml syntax

This commit addresses two issues:

1/ the embarassing one: the member SetMode::old_text_level_ was
   declared as bool instead of int. This means that is was definitely
   not a proper backup variable!

2/ a robustness issue: replace two consecutive test for isTest() by a
   boolean veriable that is used twice. This makes sure that <mrow>
   cannot be output without the corresponding </mrow>.

Part of bug #13069.
src/mathed/MathExtern.cpp
src/mathed/MathStream.h