summaryrefslogtreecommitdiffstats
path: root/Lib/sgmllib.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/sgmllib.py')
-rw-r--r--Lib/sgmllib.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/sgmllib.py b/Lib/sgmllib.py
index 987b65ed..ce5807b 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):