[LyX/master] Fixup 216a6fb348: close <mtext> when quitting text mode

Jean-Marc Lasgouttes lasgouttes at lyx.org
Tue Jul 23 21:49:28 UTC 2024


Le 23/07/2024 à 22:11, Jean-Marc Lasgouttes a écrit :
> commit 1385f0fddd0229770496b1e50b76782892032d18
> Author: Jean-Marc Lasgouttes <lasgouttes at 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_;
>   }
>   



More information about the lyx-devel mailing list