Fix bug #8604: Forgot not to escape the caption string in listings.

(cherry picked from commit 7dac3a2715)
This commit is contained in:
Richard Heck 2013-03-23 10:05:56 -04:00
parent 2093b90fb7
commit 5d792ae0fd
2 changed files with 3 additions and 0 deletions

View 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");
}

View 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