diff options
-rw-r--r-- | Lib/sgmllib.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/sgmllib.py b/Lib/sgmllib.py index 3ab57c2..b68eb7a 100644 --- a/Lib/sgmllib.py +++ b/Lib/sgmllib.py @@ -428,7 +428,7 @@ class SGMLParser(markupbase.ParserBase): if replacement is None: self.unknown_entityref(name) else: - self.handle_data(self.convert_entityref(name)) + self.handle_data(replacement) # Example -- handle data, should be overridden def handle_data(self, data): |