From fa79ab2c0b231d3410e191077e9eae412e9c8e25 Mon Sep 17 00:00:00 2001 From: Richard Heck Date: Wed, 25 Nov 2009 22:02:58 +0000 Subject: [PATCH] Come to think of it, we should do this differently: the way it's done with InsetVSpace. Typically, this will appear on a line by itself, and we do not really want

. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32205 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/insets/InsetNewpage.cpp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/insets/InsetNewpage.cpp b/src/insets/InsetNewpage.cpp index 6c0fd75609..facea55146 100644 --- a/src/insets/InsetNewpage.cpp +++ b/src/insets/InsetNewpage.cpp @@ -18,7 +18,6 @@ #include "Lexer.h" #include "MetricsInfo.h" #include "OutputParams.h" -#include "output_xhtml.h" #include "Text.h" #include "TextMetrics.h" @@ -248,11 +247,9 @@ int InsetNewpage::docbook(odocstream & os, OutputParams const &) const } -docstring InsetNewpage::xhtml(XHTMLStream & xs, OutputParams const &) const +docstring InsetNewpage::xhtml(XHTMLStream &, OutputParams const &) const { - xs << CompTag("br"); - xs.cr(); - return docstring(); + return from_ascii("
\n"); } -- 2.39.2