From: Richard Heck Date: Sat, 23 Mar 2013 14:05:56 +0000 (-0400) Subject: Fix bug #8604: Forgot not to escape the caption string in listings. X-Git-Tag: 2.1.0beta1~497 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=7dac3a2715e9e8e5a9566d3816362a421d58d4a7;p=lyx.git Fix bug #8604: Forgot not to escape the caption string in listings. --- diff --git a/src/insets/InsetListings.cpp b/src/insets/InsetListings.cpp index a4a73ffc6e..63621e1033 100644 --- a/src/insets/InsetListings.cpp +++ b/src/insets/InsetListings.cpp @@ -277,6 +277,7 @@ docstring InsetListings::xhtml(XHTMLStream & os, OutputParams const & rp) const docstring caption = getCaptionHTML(rp); if (!caption.empty()) out << html::StartTag("div", "class='float-caption'") + << XHTMLStream::ESCAPE_NONE << caption << html::EndTag("div"); }