]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetBranch.cpp
Replace a half-baked attempt to remove \lyxdot from the directory part of
[lyx.git] / src / insets / InsetBranch.cpp
index 3c917db7f7e2ff1e41917d6c8ff4d370e594f9b9..174b3e655bc6c9274f41a0e416c2c83ee611faae 100644 (file)
@@ -230,8 +230,12 @@ int InsetBranch::docbook(odocstream & os,
 
 docstring InsetBranch::xhtml(XHTMLStream & xs, OutputParams const & rp) const
 {
-       if (isBranchSelected())
-               xhtmlParagraphs(text(), buffer(), xs, rp);
+       if (isBranchSelected()) {
+               OutputParams newrp = rp;
+               newrp.par_begin = 0;
+               newrp.par_end = text().paragraphs().size();
+               xhtmlParagraphs(text(), buffer(), xs, newrp);
+       }
        return docstring();
 }