mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 21:21:32 +00:00
Fairly trivial change here: Just protect against inheriting limits to
output. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38430 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
b03d96a7f0
commit
d83e002201
@ -490,9 +490,15 @@ docstring InsetText::xhtml(XHTMLStream & xs, OutputParams const & runparams) con
|
||||
// if so, try to close fonts, etc.
|
||||
// There are probably limits to how well we can do here, though, and we will
|
||||
// have to rely upon users not putting footnotes inside noun-type insets.
|
||||
docstring InsetText::insetAsXHTML(XHTMLStream & xs, OutputParams const & runparams,
|
||||
docstring InsetText::insetAsXHTML(XHTMLStream & xs, OutputParams const & rp,
|
||||
XHTMLOptions opts) const
|
||||
{
|
||||
// we will always want to output all our paragraphs when we are
|
||||
// called this way.
|
||||
OutputParams runparams = rp;
|
||||
runparams.par_begin = 0;
|
||||
runparams.par_end = text().paragraphs().size();
|
||||
|
||||
if (undefined()) {
|
||||
xhtmlParagraphs(text_, buffer(), xs, runparams);
|
||||
return docstring();
|
||||
|
Loading…
Reference in New Issue
Block a user