summaryrefslogtreecommitdiff
path: root/beautifulsoup/element.py
diff options
context:
space:
mode:
Diffstat (limited to 'beautifulsoup/element.py')
-rw-r--r--beautifulsoup/element.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/beautifulsoup/element.py b/beautifulsoup/element.py
index 0ef9db1..23f8c33 100644
--- a/beautifulsoup/element.py
+++ b/beautifulsoup/element.py
@@ -582,8 +582,7 @@ class Tag(PageElement, EntitySubstitution):
and '%SOUP-ENCODING%' in val):
val = self.substituteEncoding(val, eventual_encoding)
- # XXX: Set destination_is_xml based on... something!
- decoded = key + '=' + self.substitute_xml(val, True, False)
+ decoded = key + '=' + self.substitute_xml(val, True)
attrs.append(decoded)
close = ''
closeTag = ''