diff options
author | Leonard Richardson <leonard.richardson@canonical.com> | 2011-02-26 23:40:06 -0500 |
---|---|---|
committer | Leonard Richardson <leonard.richardson@canonical.com> | 2011-02-26 23:40:06 -0500 |
commit | ace32031ac6c9787ee46c5ab19e6f71b99cd26d3 (patch) | |
tree | 624e46ced60e7f5cb55edcab5b3d93bddd804c28 /beautifulsoup/dammit.py | |
parent | 1f4733fd1215411752c4d793d93edbc007fece12 (diff) | |
parent | 8a6e1b5e15368c9dd66b6b407b7328c2bd0360ad (diff) |
Cleaned up the pretty-print and attribute handling code.
Diffstat (limited to 'beautifulsoup/dammit.py')
-rw-r--r-- | beautifulsoup/dammit.py | 4 |
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 - # ", unless it happens in an attribute value, which - # is done elsewhere. + # ", unless it happens within an attribute value, which + # is handled elsewhere. continue; character = unichr(codepoint) characters.append(character) |