diff options
Diffstat (limited to 'Lib/xml')
-rw-r--r-- | Lib/xml/sax/saxutils.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/xml/sax/saxutils.py b/Lib/xml/sax/saxutils.py index 049e09c..035715c 100644 --- a/Lib/xml/sax/saxutils.py +++ b/Lib/xml/sax/saxutils.py @@ -43,10 +43,10 @@ def unescape(data, entities={}): """ data = data.replace("<", "<") data = data.replace(">", ">") - # must do ampersand last - data = data.replace("&", "&") if entities: data = __dict_replace(data, entities) + # must do ampersand last + data = data.replace("&", "&") return data def quoteattr(data, entities={}): |