summaryrefslogtreecommitdiff
path: root/NEWS.txt
diff options
context:
space:
mode:
authorLeonard Richardson <leonard.richardson@canonical.com>2012-02-15 17:03:37 -0500
committerLeonard Richardson <leonard.richardson@canonical.com>2012-02-15 17:03:37 -0500
commit87747b712cfe63d173332f06ee1ba2bf9adf9ce5 (patch)
tree1829d574032666de65230c2c9df6f1aa522c1b05 /NEWS.txt
parentac197c5ad0ffe0795436cb54e0766640d12c6a31 (diff)
Added a kind of hacky way to interpret the restriction class='foo bar'. Stop generating a space before the slash that closes an empty-element tag.
Diffstat (limited to 'NEWS.txt')
-rw-r--r--NEWS.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/NEWS.txt b/NEWS.txt
index ea49586..d77b95b 100644
--- a/NEWS.txt
+++ b/NEWS.txt
@@ -3,6 +3,11 @@
* The value of multi-valued attributes like "class" are always turned
into a list, even if there's only one value.
+* Stopped generating a space before the slash that closes an
+ empty-element tag. This may come back if I add a special XHTML mode
+ (http://www.w3.org/TR/xhtml1/#C_2), but right now it's pretty
+ useless.
+
* Passing text along with tag-specific arguments to a find* method:
find("a", text="Click here")
@@ -15,6 +20,10 @@
partially disconnected tree. Generally cleaned up the html5lib tree
builder.
+* If you restrict a multi-valued attribute like "class" to a string
+ that contains spaces, Beautiful Soup will only consider it a match
+ if the values correspond to that specific string.
+
= 4.0.0b5 (20120209) =
* Rationalized Beautiful Soup's treatment of CSS class. A tag