]> git.lyx.org Git - features.git/commitdiff
Use the attributes MTag now takes.
authorRichard Heck <rgheck@comcast.net>
Thu, 21 Jan 2010 21:06:44 +0000 (21:06 +0000)
committerRichard Heck <rgheck@comcast.net>
Thu, 21 Jan 2010 21:06:44 +0000 (21:06 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33149 a592a061-630c-0410-9148-cb99ea01b6c8

src/mathed/InsetMathSize.cpp

index e7b78b99e09dbed62a10fd7b6f92b4ea2c42481f..e038c7a8f5abda8a2a8d7728325caddcd81eb093 100644 (file)
@@ -79,8 +79,8 @@ void InsetMathSize::mathmlize(MathStream & ms) const
        stringstream attrs;
        attrs << "displaystyle='" << (dispstyle ? "true" : "false")
                << "' scriptlevel='" << scriptlevel << "'";
-       ms << "<mstyle " << from_ascii(attrs.str()) << ">"
-          << cell(0) << "</mstyle>";
+       ms << MTag("mstyle", attrs.str()) << ">"
+          << cell(0) << ETag("mstyle");
 }