]> git.lyx.org Git - lyx.git/blobdiff - src/output_xhtml.h
Clean up XHTML output a bit.
[lyx.git] / src / output_xhtml.h
index 94bdf0bd2b7f643fbf18802175444dfa6550323b..6e00557ea548b3b3be9ebc912f57743b7c14f7d7 100644 (file)
@@ -83,6 +83,9 @@ struct CompTag {
        std::string attr_;
 };
 
+// trivial struct for output of newlines
+struct CR{};
+
 } // namespace html
 
 class XHTMLStream {
@@ -90,8 +93,6 @@ public:
        ///
        explicit XHTMLStream(odocstream & os);
        ///
-       void cr();
-       ///
        odocstream & os() { return os_; }
        ///
        // int & tab() { return tab_; }
@@ -117,6 +118,8 @@ public:
        ///
        XHTMLStream & operator<<(html::CompTag const &);
        ///
+       XHTMLStream & operator<<(html::CR const &);
+       ///
        enum EscapeSettings {
                ESCAPE_NONE,
                ESCAPE_AND, // meaning &