Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9142b19 commit 6d89050Copy full SHA for 6d89050
1 file changed
Lib/xml/sax/saxutils.py
@@ -46,8 +46,7 @@ def unescape(data, entities={}):
46
if entities:
47
data = __dict_replace(data, entities)
48
# must do ampersand last
49
- data = data.replace("&", "&")
50
- return data
+ return data.replace("&", "&")
51
52
def quoteattr(data, entities={}):
53
"""Escape and quote an attribute value.
0 commit comments