diff options
author | Leonard Richardson <leonard.richardson@canonical.com> | 2011-02-20 09:54:22 -0500 |
---|---|---|
committer | Leonard Richardson <leonard.richardson@canonical.com> | 2011-02-20 09:54:22 -0500 |
commit | 48bb11cf93871cce51c8cb2c117b8c63e2a3db8d (patch) | |
tree | 575ce474032d2b2dbaacce269555a45161b39d7d /CHANGELOG | |
parent | 641e2598c4a1cd54bc698d15b7006e0949c4fd33 (diff) | |
download | beautifulsoup4-48bb11cf93871cce51c8cb2c117b8c63e2a3db8d.tar.gz |
Added a test showing weird behavior when you .insert contents into an empty-element tag.
Diffstat (limited to 'CHANGELOG')
-rw-r--r-- | CHANGELOG | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -59,9 +59,9 @@ The value of a.string used to be None, and now it's "foo". Beautiful Soup's handling of empty-element tags (aka self-closing tags) has been improved, especially when parsing XML. Previously you -had to explicitly specify a list of empty-element tags. You can still -do that, but if you don't, Beautiful Soup now considers any empty tag -to be an empty-element tag. +had to explicitly specify a list of empty-element tags when parsing +XML. You can still do that, but if you don't, Beautiful Soup now +considers any empty tag to be an empty-element tag. The determination of empty-element-ness is now made at runtime rather than parse time. If you add a child to an empty-element tag, it stops |