Martin Panter added the comment:

Removing the redundant _quote_html() function seems like a good idea to me. I 
wonder if the code should be using the html.escape(..., quote=False) option 
though, because it does not need to encode quote signs.

It might be good to add a test. It looks like there may not be anything testing 
the HTML encoding.

----------
nosy: +martin.panter

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue26585>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to