mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 21:21:32 +00:00
Fix crash when outputting XHTML. Not resetting the paragraphs
was an oversight here. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40068 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
b66e3c6e0f
commit
34d5863776
@ -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();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user