Restore XHTML output for InsetLine.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32207 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Richard Heck 2009-11-25 22:07:17 +00:00
parent ceedc90c55
commit 40fcb745a9
2 changed files with 5 additions and 3 deletions

View 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,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 << "<hr />\n";
xs << CompTag("hr");
xs.cr();
return docstring();
}

View File

@ -35,7 +35,7 @@ public:
///
int docbook(odocstream &, OutputParams const &) const;
///
docstring xhtml(odocstream &, OutputParams const &) const;
docstring xhtml(XHTMLStream &, OutputParams const &) const;
///
void read(Lexer & lex);
///