]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetNewline.cpp
tex2lyx: support for Spreadsheet and chess external templates
[lyx.git] / src / insets / InsetNewline.cpp
index 9e7bd384d1e2ea76821df73ced0ad8a16bbed42f..92f94eaaa76e34913118e1e0b667696812b8ffc7 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();
 }
 
@@ -260,9 +259,9 @@ void InsetNewline::draw(PainterInfo & pi, int x, int y) const
 }
 
 
-docstring InsetNewline::contextMenuName() const
+string InsetNewline::contextMenuName() const
 {
-       return from_ascii("context-newline");
+       return "context-newline";
 }