]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetLine.cpp
Pure HTML output for math macros.
[lyx.git] / src / insets / InsetLine.cpp
index 1e868a11b50e7bdb19aa231adfe70fee2e050e18..da589953ecebe2ca1ecee96d9bafba07e1182363 100644 (file)
@@ -17,6 +17,7 @@
 #include "LaTeXFeatures.h"
 #include "MetricsInfo.h"
 #include "OutputParams.h"
+#include "output_xhtml.h"
 #include "Text.h"
 
 #include "frontends/Painter.h"
@@ -85,9 +86,11 @@ int InsetLine::docbook(odocstream & os, OutputParams const &) const
 }
 
 
-void InsetLine::xhtml(odocstream & os, OutputParams const &) const
+docstring InsetLine::xhtml(XHTMLStream & xs, OutputParams const &) const
 {
-       os << "<hr />\n";
+       xs << html::CompTag("hr");
+       xs.cr();
+       return docstring();
 }