diff options
author | Leonard Richardson <leonardr@segfault.org> | 2018-07-18 22:22:19 -0400 |
---|---|---|
committer | Leonard Richardson <leonardr@segfault.org> | 2018-07-18 22:22:19 -0400 |
commit | d055e7ab92a65e641f19989f0d92a0fdcc4fdc4c (patch) | |
tree | ac78c0eb01e7793a8557a8b448022745b90232e2 /NEWS.txt | |
parent | 68b55626839a8a0ea9e750fff546e201d144f96c (diff) |
Fixed a bug where find_all() was not working when asked to find a
tag with a namespaced name in an XML document that was parsed as
HTML. [bug=1723783]
Diffstat (limited to 'NEWS.txt')
-rw-r--r-- | NEWS.txt | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -6,6 +6,9 @@ * Preserve XML namespaces introduced inside an XML document, not just the ones introduced at the top level. [bug=1718787] +* Added a new formatter, "html5", which represents void elements + elements as "<element>" rather than "<element/>". [bug=1716272] + * Improved the warning given when no parser is specified. [bug=1780571] * Fixed code that was causing deprecation warnings in recent Python 3 @@ -17,8 +20,9 @@ * Stopped HTMLParser from raising an exception in very rare cases of bad markup. [bug=1708831] -* Added a new formatter, "html5", which represents void elements - elements as "<element>" rather than "<element/>". [bug=1716272] +* Fixed a bug where find_all() was not working when asked to find a + tag with a namespaced name in an XML document that was parsed as + HTML. [bug=1723783] * You can get finer control over formatting by subclassing bs4.element.Formatter and passing a Formatter instance into (e.g.) |