summaryrefslogtreecommitdiff
path: root/beautifulsoup/dammit.py
diff options
context:
space:
mode:
authorLeonard Richardson <leonard.richardson@canonical.com>2011-02-26 21:26:15 -0500
committerLeonard Richardson <leonard.richardson@canonical.com>2011-02-26 21:26:15 -0500
commitd7056f49c8bb3a448cec2f1a6f2de55e93c8e8d6 (patch)
treecc75bdadec0060288b1b76213c3ac2de34d9ab68 /beautifulsoup/dammit.py
parentef5770589595e80cbd9690b64504a2166b3558fd (diff)
First stab at HTML entity replacement.
Diffstat (limited to 'beautifulsoup/dammit.py')
-rw-r--r--beautifulsoup/dammit.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/beautifulsoup/dammit.py b/beautifulsoup/dammit.py
index 9833bd4..31dfa95 100644
--- a/beautifulsoup/dammit.py
+++ b/beautifulsoup/dammit.py
@@ -37,8 +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;, unless it happens in an attribute value, which
- # is done elsewhere.
+ # &quot;, unless it happens within an attribute value, which
+ # is handled elsewhere.
continue;
character = unichr(codepoint)
characters.append(character)