mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
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:
parent
0422422caf
commit
ce1566de1b
@ -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();
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user