Le 23/07/2024 à 22:11, Jean-Marc Lasgouttes a écrit :
commit 1385f0fddd0229770496b1e50b76782892032d18
Author: Jean-Marc Lasgouttes <lasgout...@lyx.org>
Date:   Tue Jul 23 22:02:50 2024 +0200

     Fixup 216a6fb348: close <mtext> when quitting text mode
This fixes malformed documents on UserGuide export. Related to bug #13069.

Riki, this is candidate for branch.

JMarc

---
  src/mathed/MathStream.cpp | 1 +
  1 file changed, 1 insertion(+)

diff --git a/src/mathed/MathStream.cpp b/src/mathed/MathStream.cpp
index 2951aeeefd..665b3fcbf4 100644
--- a/src/mathed/MathStream.cpp
+++ b/src/mathed/MathStream.cpp
@@ -547,6 +547,7 @@ SetMode::SetMode(MathMLStream & ms, bool text)
SetMode::~SetMode()
  {
+       ms_.beforeTag();
        ms_.text_level_ = old_text_level_;
  }

--
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel

Reply via email to