X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Foutput_xhtml.cpp;h=e87fe23750232b3aaa7223a3c67064329d17ba73;hb=98feadd61eb80ec330cd1884f2321952313ea4b1;hp=1dd4ef1bda1c73d0482a6a99f2b68185cfe8b3a4;hpb=dd7863b6ac70d3d1e6298306dab6c3b7235c9e99;p=lyx.git diff --git a/src/output_xhtml.cpp b/src/output_xhtml.cpp index 1dd4ef1bda..e87fe23750 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: