From d1365a072537d028e6513782298eb2a7334ee02c Mon Sep 17 00:00:00 2001 From: Leonard Richardson Date: Sun, 17 Jul 2016 11:50:48 -0400 Subject: 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] --- NEWS.txt | 4 ++++ bs4/__init__.py | 13 ++++++++++++- bs4/tests/test_html5lib.py | 11 +++++++++++ 3 files changed, 27 insertions(+), 1 deletion(-) diff --git a/NEWS.txt b/NEWS.txt index eda6251..25795ce 100644 --- a/NEWS.txt +++ b/NEWS.txt @@ -3,6 +3,10 @@ * 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] + * Corrected handling of XML processing instructions. [bug=1504393] * The contents of