mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-24 13:48:59 +00:00
Don't convert --- and -- to entities in XHTML listings output.
Fixes bug #8561.
(cherry picked from commit c4bed8dbe8
)
This commit is contained in:
parent
f6f4a8ddf8
commit
0735ac84e2
@ -283,6 +283,9 @@ docstring InsetListings::xhtml(XHTMLStream & os, OutputParams const & rp) const
|
||||
out << html::StartTag("pre");
|
||||
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("pre");
|
||||
|
||||
|
@ -107,6 +107,9 @@ What's new
|
||||
- Properly output alias for formatted chapter references, so prettyref
|
||||
documents work when converted tor refstyle.
|
||||
|
||||
- Do not convert --- and -- to entities when outputting listings to
|
||||
XHTML (bug 8561).
|
||||
|
||||
|
||||
* USER INTERFACE
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user