From 65126d5a3d594adcf071360ced0fffd60ce0586b Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Wed, 27 Sep 1995 16:22:17 +0000 Subject: [PATCH] entity definitions from HTML 2.0 std --- Lib/htmllib.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Lib/htmllib.py b/Lib/htmllib.py index 3288ce8860f..c5c6f09e8b4 100644 --- a/Lib/htmllib.py +++ b/Lib/htmllib.py @@ -14,6 +14,8 @@ class HTMLParser(SGMLParser): + from htmlentitydefs import entitydefs + def __init__(self, formatter, verbose=0): SGMLParser.__init__(self, verbose) self.formatter = formatter