Restore XHTML output for InsetNewpage.

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

View File

@ -18,6 +18,7 @@
#include "Lexer.h" #include "Lexer.h"
#include "MetricsInfo.h" #include "MetricsInfo.h"
#include "OutputParams.h" #include "OutputParams.h"
#include "output_xhtml.h"
#include "Text.h" #include "Text.h"
#include "TextMetrics.h" #include "TextMetrics.h"
@ -247,9 +248,10 @@ int InsetNewpage::docbook(odocstream & os, OutputParams const &) const
} }
docstring InsetNewpage::xhtml(odocstream & os, OutputParams const &) const docstring InsetNewpage::xhtml(XHTMLStream & xs, OutputParams const &) const
{ {
os << "<br />\n"; xs << CompTag("br");
xs.cr();
return docstring(); return docstring();
} }

View File

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