was an oversight here. (This was r40068 in trunk, but never got
to branch for some reason.)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40330
a592a061-630c-0410-9148-
cb99ea01b6c8
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();
}
* DOCUMENT INPUT/OUTPUT
+- Fix crash when exporting branches to XHTML.
+
* TEX2LYX