]> git.lyx.org Git - features.git/commitdiff
Fix bug #8604: Forgot not to escape the caption string in listings.
authorRichard Heck <rgheck@lyx.org>
Sat, 23 Mar 2013 14:05:56 +0000 (10:05 -0400)
committerRichard Heck <rgheck@lyx.org>
Sat, 23 Mar 2013 14:05:56 +0000 (10:05 -0400)
src/insets/InsetListings.cpp

index a4a73ffc6e2f02dffe10f152615e62adf408b536..63621e103332983748d93555ed7595a52d478085 100644 (file)
@@ -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");
        }