X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FInsetNewline.cpp;h=d22bb369ae8c45565b96e0d780e95f56948bade1;hb=bfddee97e191a853f0576f4fab3f095c4e9ce0de;hp=9e7bd384d1e2ea76821df73ced0ad8a16bbed42f;hpb=d866717ef7503a1373dd1cb3925e1ac97b079192;p=lyx.git diff --git a/src/insets/InsetNewline.cpp b/src/insets/InsetNewline.cpp index 9e7bd384d1..d22bb369ae 100644 --- a/src/insets/InsetNewline.cpp +++ b/src/insets/InsetNewline.cpp @@ -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(); }