Item13369: Wysiwyg converts entities to unicode in HTML2TML, and corrupts MAKETEXT strings.
Priority: Urgent
Current State: Closed
Released In: 1.2.0
Target Release: minor
See
http://trunk.foswiki.org/Sandbox/TestCopyright
The
HTML2TML is corrupting entities. Discovered when editing
DefaultPreferences
The test text is:
Test copyright © and — mdash
%MAKETEXT{"Test copyright &© and &— inside maketext"}%
When the topic is edited, the copyright and mdash entities outside of the maketext are converted to unicode entities. But inside the
MAKETEXT macros, they are incorrectly converted.
On trunk.foswiki.org:
%MAKETEXT{"Test copyright &© and &— inside maketext"}%
and with CGI 4.14 and Foswiki configured for utf-8:
%MAKETEXT{"Test copyright &© and &— mdash "}%
--
GeorgeClark - 11 Apr 2015
Should be back the way it was.
--
CrawfordCurrie - 20 Apr 2015