Public bug reported:

In Mailman's web administrative interface, edithtml page saves en
language templates by using  iso-8859-1 raw character if the template
uses html entity reference like " ".

For example, If "General list information page"
(templates/en/listinfo.html), which contains  ", has been saved
without modification from web UI, the lists template en/listinfo.html
will contain raw '\xa0' character. If Adding "<!-- &copy;&reg; --> in
text area and submit changes twice, it will turn into "<!-- \xa9\xae
-->".

I'm not sure the patch attached is a good way to fix it because I don't
know these entity reference characters are always ISO-8859-1 character,
but for reference.

** Affects: mailman
     Importance: Undecided
         Status: New

** Patch added: "edithtml-save-as-ascii-patch.txt"
   
https://bugs.launchpad.net/bugs/1779445/+attachment/5158043/+files/edithtml-save-as-ascii-patch.txt

** Branch linked: lp:mailman/2.1

-- 
You received this bug notification because you are a member of Mailman
Coders, which is subscribed to GNU Mailman.
https://bugs.launchpad.net/bugs/1779445

Title:
  edithtml.py saves en templates using html entity reference with raw
  iso-8859-1 character

To manage notifications about this bug go to:
https://bugs.launchpad.net/mailman/+bug/1779445/+subscriptions
_______________________________________________
Mailman-coders mailing list
[email protected]
https://mail.python.org/mailman/listinfo/mailman-coders

Reply via email to