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 <rep...@bugs.python.org>
<http://bugs.python.org/issue19667>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to