From 5d792ae0fdf691fb4c9f6d52d425fdfa6ae5ea14 Mon Sep 17 00:00:00 2001 From: Richard Heck Date: Sat, 23 Mar 2013 10:05:56 -0400 Subject: [PATCH] Fix bug #8604: Forgot not to escape the caption string in listings. (cherry picked from commit 7dac3a2715e9e8e5a9566d3816362a421d58d4a7) --- src/insets/InsetListings.cpp | 1 + status.20x | 2 ++ 2 files changed, 3 insertions(+) diff --git a/src/insets/InsetListings.cpp b/src/insets/InsetListings.cpp index 19a8105dbf..f45bde4d4b 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"); } diff --git a/status.20x b/status.20x index 72b544289b..5c9800538c 100644 --- a/status.20x +++ b/status.20x @@ -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 -- 2.39.5