@@ -75,14 +75,18 @@ \section{\module{HTMLParser} ---
7575be overridden by a derived class; the base class implementation does
7676nothing.
7777
78- The \var {tag} argument is the name of the tag converted to
79- lower case. The \var {attrs} argument is a list of \code {(\var {name},
80- \var {value})} pairs containing the attributes found inside the tag's
81- \code {<>} brackets. The \var {name} will be translated to lower case
82- and double quotes and backslashes in the \var {value} have been
83- interpreted . For instance, for the tag \code {<A
84- HREF="http://www.cwi.nl/"> }, this method would be called as
78+ The \var {tag} argument is the name of the tag converted to lower case.
79+ The \var {attrs} argument is a list of \code {(\var {name}, \var {value})}
80+ pairs containing the attributes found inside the tag's \code {<>}
81+ brackets. The \var {name} will be translated to lower case, and quotes
82+ in the \var {value} have been removed, and character and entity
83+ references have been replaced . For instance, for the tag \code {<A
84+ HREF="http://www.cwi.nl/"> }, this method would be called as
8585\samp {handle_starttag('a', [('href', 'http://www.cwi.nl/' )])}.
86+
87+ \versionchanged [All entity references from htmlentitydefs are now
88+ replaced in the attribute values]{2.6}
89+
8690\end {methoddesc}
8791
8892\begin {methoddesc }{handle_startendtag}{tag, attrs}
0 commit comments