From 812c3204bdf6e3c1bfe4e6dc12225cbb1c42ed32 Mon Sep 17 00:00:00 2001 From: Richard Heck Date: Thu, 31 Dec 2009 19:40:36 +0000 Subject: [PATCH] Special handing of space characters during text output. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32709 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/mathed/InsetMathChar.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/mathed/InsetMathChar.cpp b/src/mathed/InsetMathChar.cpp index 8832a751a8..e1d64ec866 100644 --- a/src/mathed/InsetMathChar.cpp +++ b/src/mathed/InsetMathChar.cpp @@ -172,6 +172,11 @@ void InsetMathChar::mathmlize(MathStream & ms) const case '<': entity = "<"; break; case '>': entity = ">"; break; case '&': entity = "&"; break; + case ' ': + if (!ms.inText()) + break; + entity = " "; + break; default: break; } -- 2.39.2