summaryrefslogtreecommitdiff
path: root/beautifulsoup/dammit.py
diff options
context:
space:
mode:
authorLeonard Richardson <leonard.richardson@canonical.com>2011-02-26 23:40:06 -0500
committerLeonard Richardson <leonard.richardson@canonical.com>2011-02-26 23:40:06 -0500
commitace32031ac6c9787ee46c5ab19e6f71b99cd26d3 (patch)
tree624e46ced60e7f5cb55edcab5b3d93bddd804c28 /beautifulsoup/dammit.py
parent1f4733fd1215411752c4d793d93edbc007fece12 (diff)
parent8a6e1b5e15368c9dd66b6b407b7328c2bd0360ad (diff)
Cleaned up the pretty-print and attribute handling code.
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)