Item12388: HTML2TML relies on XML-specific '
entity
Priority: Normal
Current State: Waiting for Release
Released In: 2.2.0
Target Release: minor
HTML2TML converts
'
and
'
to
'
in an intermediate step; according to code comments this is done to prevent the entity from being decoded in a following step. However,
'
is not defined in HTML (only in XML and thus XHTML), and so older/stricter browsers (IE7 and IE8 are examples of the former category) will treat it as plain text.
Possible fix: after decoding the entitites, replace
'
with
'
to mostly restore the previous condition.
--
JanKrueger - 08 Feb 2013
In other places,
TML2HTML uses markers to protect / restore elements. Rather than converting to HTML entities as "protection", it might be preferable to encode them using some other marker, and then convert back, preserving the original TML.
--
GeorgeClark - 08 Feb 2013
Tiny MCE actually uses apos, which is where I got it from.
Changed the code to use rsquo instead.
--
CrawfordCurrie - 21 Jan 2015
Reverted. ... breaks 33 unit tests.
--
GeorgeClark - 22 Jan 2015
Done again, this time correctly
Checked in to
Item14323.
--
Main.CrawfordCurrie - 01 Mar 2017 - 20:17