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
This commit is contained in:
Richard Heck 2009-12-31 19:40:36 +00:00
parent 3915c2d01a
commit 812c3204bd

View File

@ -172,6 +172,11 @@ void InsetMathChar::mathmlize(MathStream & ms) const
case '<': entity = "&lt;"; break;
case '>': entity = "&gt;"; break;
case '&': entity = "&amp;"; break;
case ' ':
if (!ms.inText())
break;
entity = "&ThinSpace;";
break;
default: break;
}