From 5536d442cda227fdf40afbc41abe4b133a29edfc Mon Sep 17 00:00:00 2001 From: Richard Heck Date: Thu, 31 Dec 2009 18:56:55 +0000 Subject: [PATCH] Don't wrap numbers in text in . git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32706 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/mathed/InsetMathNumber.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/mathed/InsetMathNumber.cpp b/src/mathed/InsetMathNumber.cpp index fdacf0c7bc..33a2f9d896 100644 --- a/src/mathed/InsetMathNumber.cpp +++ b/src/mathed/InsetMathNumber.cpp @@ -69,7 +69,10 @@ void InsetMathNumber::octave(OctaveStream & os) const void InsetMathNumber::mathmlize(MathStream & os) const { - os << " " << str_ << " "; + if (os.inText()) + os << str_; + else + os << " " << str_ << " "; } -- 2.39.2