The branch, master, has been updated. - Log -----------------------------------------------------------------
commit c4bed8dbe802303c9249114d025119ca80b42936 Author: Richard Heck <[email protected]> Date: Thu Feb 21 18:10:42 2013 -0500 Don't convert --- and -- to entities in XHTML listings output. Fixes bug #8561. diff --git a/src/insets/InsetListings.cpp b/src/insets/InsetListings.cpp index 4baaff0..a4a73ff 100644 --- a/src/insets/InsetListings.cpp +++ b/src/insets/InsetListings.cpp @@ -290,6 +290,9 @@ docstring InsetListings::xhtml(XHTMLStream & os, OutputParams const & rp) const out << html::StartTag(tag, attr); OutputParams newrp = rp; newrp.html_disable_captions = true; + // We don't want to convert dashes here. That's the only conversion we + // do for XHTML, so this is safe. + newrp.pass_thru = true; docstring def = InsetText::insetAsXHTML(out, newrp, InsetText::JustText); out << html::EndTag(tag); ----------------------------------------------------------------------- Summary of changes: src/insets/InsetListings.cpp | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) hooks/post-receive -- The LyX Source Repository
