]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetNewline.cpp
Better TOC output for XHTML, per Rob and Pavel.
[lyx.git] / src / insets / InsetNewline.cpp
index 9e7bd384d1e2ea76821df73ced0ad8a16bbed42f..d22bb369ae8c45565b96e0d780e95f56948bade1 100644 (file)
@@ -177,8 +177,7 @@ int InsetNewline::docbook(odocstream & os, OutputParams const &) const
 
 docstring InsetNewline::xhtml(XHTMLStream & xs, OutputParams const &) const
 {
-       xs << html::CompTag("br");
-       xs.cr();
+       xs << html::CR() << html::CompTag("br") << html::CR();
        return docstring();
 }