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 | 9f437ea591aeaf16d593350baf081315e56a8b73 (patch) | |
tree | 116edd8c1d9a7cf6348f784162fd2291608833c2 /CHANGELOG | |
parent | 7dec14806011343d3460a3fa34d7cf88799e8f4c (diff) |
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 |