]> 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:08:10 +0000 (10:08 -0400)
(cherry picked from commit 7dac3a2715e9e8e5a9566d3816362a421d58d4a7)

src/insets/InsetListings.cpp
status.20x

index 19a8105dbf11cd32fc74f7663baebc43a53f7091..f45bde4d4b690bd6f8379aff6a3ce04aa3900d37 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");
        }
 
index 72b544289b2ab0b4d1f5e79250ebdade497dfbca..5c9800538cc37e79333025c05aa59976bba4b173 100644 (file)
@@ -121,6 +121,8 @@ What's new
 
 - Translate "elsewhere" when outputting XHTML (bug 8587).
 
+- Fix problem with XHTML output of captions with listings (bug 8604).
+
 
 * USER INTERFACE