diff options
author | Lars-Dominik Braun <lars@6xq.net> | 2020-08-22 10:37:49 +0200 |
---|---|---|
committer | Lars-Dominik Braun <lars@6xq.net> | 2020-08-22 10:37:49 +0200 |
commit | 5e5d95418a155a23322148b8935848b6f89d59f1 (patch) | |
tree | 51010b877e108d278bdaecc9a487cb004db2b34d | |
parent | 4b992d5d37e0dad7dac2c877c01c9bffa799994c (diff) | |
download | lulua-5e5d95418a155a23322148b8935848b6f89d59f1.tar.gz lulua-5e5d95418a155a23322148b8935848b6f89d59f1.tar.bz2 lulua-5e5d95418a155a23322148b8935848b6f89d59f1.zip |
text: Fix HTMLSerializer’s entity decoding
-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 |