Fix output of floats, etc, inside environments.

Fixes bug #9094.

(cherry picked from commit 98feadd61e)
This commit is contained in:
Richard Heck 2016-07-31 03:18:32 -04:00
parent 1c9bb3f6de
commit ddb7c5884b
2 changed files with 4 additions and 1 deletions

View File

@ -1008,8 +1008,9 @@ ParagraphList::const_iterator makeEnvironment(Buffer const & buf,
if (labelfirst)
openItemTag(xs, style, par->params());
par->simpleLyXHTMLOnePar(buf, xs, runparams,
docstring deferred = par->simpleLyXHTMLOnePar(buf, xs, runparams,
text.outerFont(distance(begin, par)), true, true, sep);
xs << XHTMLStream::ESCAPE_NONE << deferred;
++par;
// We may not want to close the tag yet, in particular:

View File

@ -95,6 +95,8 @@ What's new
- Fix display of listings (bug 8362).
- Fix output of floats, etc, inside environments (bug 9094).
- Add "dir='auto'" to body tag, which should help a lot with export of
RTL languages (bug 8279, partly).