]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetLine.cpp
Restore XHTML output for InsetLine.
[lyx.git] / src / insets / InsetLine.cpp
index 816e8cd06e3801cf894e8a707f414e73636d0fe7..b2fc3b6ab0e8ea9d5ddcb1205c741dcbce8ac98b 100644 (file)
@@ -3,7 +3,7 @@
  * This file is part of LyX, the document processor.
  * Licence details can be found in the file COPYING.
  *
- * \author André Pönitz
+ * \author André Pönitz
  *
  * Full author contact details are available in file CREDITS.
  */
@@ -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,6 +86,14 @@ int InsetLine::docbook(odocstream & os, OutputParams const &) const
 }
 
 
+docstring InsetLine::xhtml(XHTMLStream & xs, OutputParams const &) const
+{
+       xs << CompTag("hr");
+       xs.cr();
+       return docstring();
+}
+
+
 void InsetLine::validate(LaTeXFeatures & features) const
 {
        features.require("lyxline");