X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FInsetLine.cpp;h=b2fc3b6ab0e8ea9d5ddcb1205c741dcbce8ac98b;hb=40fcb745a9731d062b24e2bbb149a3aec90c5684;hp=78eb62ea225357370c5821728806ca2a745dea82;hpb=ceedc90c55dbaf73b9fa3b437b549be81a6ebe56;p=lyx.git diff --git a/src/insets/InsetLine.cpp b/src/insets/InsetLine.cpp index 78eb62ea22..b2fc3b6ab0 100644 --- a/src/insets/InsetLine.cpp +++ b/src/insets/InsetLine.cpp @@ -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,10 @@ int InsetLine::docbook(odocstream & os, OutputParams const &) const } -docstring InsetLine::xhtml(odocstream & os, OutputParams const &) const +docstring InsetLine::xhtml(XHTMLStream & xs, OutputParams const &) const { - os << "
\n"; + xs << CompTag("hr"); + xs.cr(); return docstring(); }