Pylons/webtest — pull request #14 by kilink (2012-11-18 07:37:38+00:00)
Title: Fully implement decoding of HTML entities

Currently webtest.app.html_unquote only handles a few of the most common character entity references.

This pull request adds support for all character entity references defined in html.entities, as well as numeric entity references (decimal and hex).

Added tests alongside some exercising _parse_attrs, which calls html_unquote to unquote attribute values.