summaryrefslogtreecommitdiff
path: root/TODO.txt
diff options
context:
space:
mode:
authorLeonard Richardson <leonard.richardson@canonical.com>2012-02-24 10:37:47 -0500
committerLeonard Richardson <leonard.richardson@canonical.com>2012-02-24 10:37:47 -0500
commit2966334d384946c16a104b6c9964a1999b23b838 (patch)
tree8bb022bfada0c44920f23e536686e3893ee6de79 /TODO.txt
parent97b54c4bdbee0f109c444b50d8102ae8d7abb7c4 (diff)
Warn when SoupStrainer is used with the html5lib tree builder.
Diffstat (limited to 'TODO.txt')
-rw-r--r--TODO.txt29
1 files changed, 7 insertions, 22 deletions
diff --git a/TODO.txt b/TODO.txt
index 61f9aee..e57d799 100644
--- a/TODO.txt
+++ b/TODO.txt
@@ -1,29 +1,14 @@
-Bugs
-----
-
-* html5lib doesn't support SoupStrainers, which is OK, but there
- should be a warning about it.
-
-Big features
-------------
-
-* Add namespace support.
-
Optimizations
-------------
-markup_attr_map can be optimized since it's always a map now.
-
-BS3 features not yet ported
----------------------------
+The html5lib tree builder doesn't use the standard tree-building API,
+which worries me. (This may also be why the tree builder doesn't
+support SoupStrainers, but I think that has more to do with the fact
+that the html5lib tree builder is constantly rearranging the tree, and
+will crash if something it parsed earlier didn't actually make it into
+the tree.)
-* In BS3, "soup.aTag" is the same as 'soup.find("a")'. This lets you
-locate a tag called (let's say) "find" with attribute
-access. "soup.find" won't do what you want, but "soup.findTag" will.
-
-This still works In BS4 but it's deprecated. I could make
-"soup.find_tag" work the same way as "soup.find('find')", but I don't
-think it's worth it.
+markup_attr_map can be optimized since it's always a map now.
CDATA
-----