diff options
-rw-r--r-- | lulua/text.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lulua/text.py b/lulua/text.py index 8fa9f48..18e4dbf 100644 --- a/lulua/text.py +++ b/lulua/text.py @@ -105,7 +105,7 @@ class HTMLSerializer(object): key = name + ";" if key not in html5lib.constants.entities: self.serializeError("Entity %s not recognized" % name) - yield entities[key] + yield html5lib.constants.entities[key] else: assert False |