mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-12 03:23:12 +00:00
Fix crash when outputting XHTML. Not resetting the paragraphs
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
This commit is contained in:
parent
a3788ac063
commit
fdd31a75a5
@ -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();
|
||||
}
|
||||
|
||||
|
@ -48,6 +48,8 @@ What's new
|
||||
|
||||
* DOCUMENT INPUT/OUTPUT
|
||||
|
||||
- Fix crash when exporting branches to XHTML.
|
||||
|
||||
|
||||
* TEX2LYX
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user