This method is called to process a named character reference of the form &name; (e.g. >), where name is a general entity reference (e.g. 'gt'). This method is only called if convert_charrefs is false.
html.parser/HTMLParser.handle_entityref
HTMLParser.handle_entityref