[Python-ideas] Add "htmlcharrefreplace" error handler

Paul Moore p.f.moore at gmail.com
Tue Jun 11 16:53:27 CEST 2013


On 11 June 2013 15:49, Serhiy Storchaka <storchaka at gmail.com> wrote:

> I propose to add "htmlcharrefreplace" error handler which is similar to
> "xmlcharrefreplace" error handler but use html entity names if possible.


+1. This is usually what I want when I use xmlcharrefreplace. The
implementation is simple, but I was unaware of the ability to add my own
error handlers, so having this in the stdlib would improve discoverability
a lot.

Paul
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20130611/0eddc3d2/attachment.html>


More information about the Python-ideas mailing list