def __init__(self, convert_charrefs=True, *args, **kwargs):
<EOL>try:<EOL><INDENT>HTMLParser.__init__(self, convert_charrefs=convert_charrefs)<EOL><DEDENT>except TypeError:<EOL><INDENT>HTMLParser.__init__(self)<EOL><DEDENT>self.djhtml = '<STR_LIT>'<EOL>
Explicitly set convert_charrefs to keep deprecation warnings at bay.

See:
https://docs.python.org/3/library/html.parser.html#html.parser.HTMLParser