commit 98feadd61eb80ec330cd1884f2321952313ea4b1
Author: Richard Heck <[email protected]>
Date: Sun Jul 31 03:18:32 2016 -0400
Fix output of floats, etc, inside environments.
Fixes bug #9094.
---
src/output_xhtml.cpp | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/src/output_xhtml.cpp b/src/output_xhtml.cpp
index 1dd4ef1..e87fe23 100644
--- a/src/output_xhtml.cpp
+++ b/src/output_xhtml.cpp
@@ -1011,8 +1011,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: