mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-26 06:15:16 +00:00
Fixup b29b3eb1
: close <mtext> when quitting text mode
This fixes malformed documents on UserGuide export.
Related to bug #13069.
(cherry picked from commit 1385f0fddd
)
This commit is contained in:
parent
8ea0987644
commit
458ce0fdba
@ -547,6 +547,7 @@ SetMode::SetMode(MathMLStream & ms, bool text)
|
||||
|
||||
SetMode::~SetMode()
|
||||
{
|
||||
ms_.beforeTag();
|
||||
ms_.text_level_ = old_text_level_;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user