]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetLine.cpp
Routines for calculating numerical labels for BibTeX citations.
[lyx.git] / src / insets / InsetLine.cpp
index 1e868a11b50e7bdb19aa231adfe70fee2e050e18..b2fc3b6ab0e8ea9d5ddcb1205c741dcbce8ac98b 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 << CompTag("hr");
+       xs.cr();
+       return docstring();
 }