html2text
html2text copied to clipboard
charref() maybe throw OverflowError: Python int too large to convert to C int
in charref():
if name[0] in ["x", "X"]: c = int(name[1:], 16) else: c = int(name)
if name like "xabcdeabcdeabcdeabcde" will cause chr(c) throw OverflowError.