summaryrefslogtreecommitdiff
path: root/beautifulsoup/dammit.py
diff options
context:
space:
mode:
authorLeonard Richardson <leonard.richardson@canonical.com>2011-02-22 22:58:59 -0500
committerLeonard Richardson <leonard.richardson@canonical.com>2011-02-22 22:58:59 -0500
commit48e0b434806f557e086abdf0393d071663e3770a (patch)
treecf50fe9f639f8d83830bd5b3e0e72908ff3c9bf0 /beautifulsoup/dammit.py
parent6d7422139b7a60f48761f9a8ef52ed3de7393287 (diff)
Fixed comment.
Diffstat (limited to 'beautifulsoup/dammit.py')
-rw-r--r--beautifulsoup/dammit.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/beautifulsoup/dammit.py b/beautifulsoup/dammit.py
index 788f72d..9833bd4 100644
--- a/beautifulsoup/dammit.py
+++ b/beautifulsoup/dammit.py
@@ -37,7 +37,8 @@ class EntitySubstitution(object):
for codepoint, name in codepoint2name.items():
if codepoint == 34:
# There's no point in turning the quotation mark into
- # &quot--even in attribute values we quote the
+ # &quot;, unless it happens in an attribute value, which
+ # is done elsewhere.
continue;
character = unichr(codepoint)
characters.append(character)