diff options
author | Leonard Richardson <leonard.richardson@canonical.com> | 2011-02-26 21:26:15 -0500 |
---|---|---|
committer | Leonard Richardson <leonard.richardson@canonical.com> | 2011-02-26 21:26:15 -0500 |
commit | d7056f49c8bb3a448cec2f1a6f2de55e93c8e8d6 (patch) | |
tree | cc75bdadec0060288b1b76213c3ac2de34d9ab68 /beautifulsoup/dammit.py | |
parent | ef5770589595e80cbd9690b64504a2166b3558fd (diff) |
First stab at HTML entity replacement.
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) |