diff options
author | Leonard Richardson <leonardr@segfault.org> | 2016-07-17 11:57:00 -0400 |
---|---|---|
committer | Leonard Richardson <leonardr@segfault.org> | 2016-07-17 11:57:00 -0400 |
commit | 77aee72327446bace1a8cd6b66a41eed15ada337 (patch) | |
tree | 694119e209b1078f3d8078077d449b601884f6fc | |
parent | 0b2445d80c360980c948821c287da56f63629257 (diff) |
Although the previously fixed problem only occurs when using the html5lib tree builder, it's not actually a problem with the tree builder itself.
-rw-r--r-- | NEWS.txt | 6 | ||||
-rw-r--r-- | bs4/__init__.py | 4 |
2 files changed, 5 insertions, 5 deletions
@@ -3,9 +3,9 @@ * Beautiful Soup will now work with versions of html5lib greater than 0.99999999. [bug=1603299] -* Fixed a bug in the html5lib treebuilder that deranged the tree - when a whitespace element was reparented into a tag that contained - an identical whitespace element. [bug=1505351] +* Fixed a bug that deranged the tree when a whitespace element was + reparented into a tag that contained an identical whitespace + element. [bug=1505351] * Corrected handling of XML processing instructions. [bug=1504393] diff --git a/bs4/__init__.py b/bs4/__init__.py index 003dccb..d865bb9 100644 --- a/bs4/__init__.py +++ b/bs4/__init__.py @@ -383,8 +383,8 @@ class BeautifulSoup(Tag): index -= 1 else: raise ValueError( - "Error in html5lib tree builder: supposedly %r was " - "inserted into %r, but I don't see it!" % ( + "Error building tree: supposedly %r was inserted " + "into %r after the fact, but I don't see it!" % ( o, parent ) ) |