]> git.lyx.org Git - lyx.git/blobdiff - src/Buffer.cpp
Shortcut for LyX HTML output. (Makes my life easier!)
[lyx.git] / src / Buffer.cpp
index 55090abc47ceebb9b7dd4704a8b097b2873861de..9db7c6997f46976c38ca8f6e2362c332534c8663 100644 (file)
@@ -1445,8 +1445,9 @@ void Buffer::writeLyXHTMLSource(odocstream & os,
                os << "</head>\n<body>\n";
        }
 
+       XHTMLStream xs(os);
        params().documentClass().counters().reset();
-       xhtmlParagraphs(text(), *this, os, runparams);
+       xhtmlParagraphs(text(), *this, xs, runparams);
        if (!only_body)
                os << "</body>\n</html>\n";
 }