Fix InsetNewpage: <br /> has to be within a block-level item.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32223 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Richard Heck 2009-11-28 20:33:19 +00:00
parent 0422422caf
commit ce1566de1b

View File

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