[New-bugs-announce] [issue19667] Add the "htmlcharrefreplace" error handler

Serhiy Storchaka report at bugs.python.org
Wed Nov 20 19:19:36 CET 2013


New submission from Serhiy Storchaka:

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 .

----------
components: Library (Lib)
files: htmlcharrefreplace.patch
keywords: patch
messages: 203517
nosy: ezio.melotti, serhiy.storchaka
priority: normal
severity: normal
stage: patch review
status: open
title: Add the "htmlcharrefreplace" error handler
type: enhancement
versions: Python 3.4
Added file: http://bugs.python.org/file32727/htmlcharrefreplace.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue19667>
_______________________________________


More information about the New-bugs-announce mailing list