This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients ezio.melotti, serhiy.storchaka
Date 2013-11-20.18:19:35
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1384971576.04.0.0704268767649.issue19667@psf.upfronthosting.co.za>
In-reply-to
Content
The proposed patch adds the htmlcharrefreplace_errors() function which implements the "htmlcharrefreplace" error handler in the html module. This error handler is almost same as the "xmlcharrefreplace" error handler, but first try to replace an unencodable character to HTML named character reference. Result is a little more human-readable than with "xmlcharrefreplace".

See also a discussion on Python-Ideas: http://comments.gmane.org/gmane.comp.python.ideas/21307 .
History
Date User Action Args
2013-11-20 18:19:36serhiy.storchakasetrecipients: + serhiy.storchaka, ezio.melotti
2013-11-20 18:19:36serhiy.storchakasetmessageid: <1384971576.04.0.0704268767649.issue19667@psf.upfronthosting.co.za>
2013-11-20 18:19:35serhiy.storchakalinkissue19667 messages
2013-11-20 18:19:35serhiy.storchakacreate