]> git.lyx.org Git - features.git/blobdiff - src/insets/InsetNewpage.cpp
Come to think of it, we should do this differently: the way it's done
[features.git] / src / insets / InsetNewpage.cpp
index 6c0fd75609fbfe760578c0aeb45b0f3b631ba48c..facea55146ddbff44896b4fcad3ce6897f5c386e 100644 (file)
@@ -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("<br />\n");
 }