]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathSpecialChar.cpp
Seems boost also includes all std headers. Not including boost therefore produces...
[lyx.git] / src / mathed / InsetMathSpecialChar.cpp
index 2c600d0c2b38791bf7c0852c368fb06630a5a38a..a1f9dd40e9046c683d50b95f9985f809644c0fab 100644 (file)
@@ -160,4 +160,17 @@ void InsetMathSpecialChar::mathmlize(MathStream & ms) const
 }
 
 
+void InsetMathSpecialChar::htmlize(HtmlStream & ms) const
+{
+       switch (char_) {
+       case '&':
+               ms << "&amp;";
+               break;
+       default:
+               ms.os().put(char_);
+               break;
+       }
+}
+
+
 } // namespace lyx