Soupault 4.11.0 release
Estimated reading time: less than a minute.
Date:
Soupault 4.11.0 is available for download from my own server
and from GitHub releases.
It adds a plugin function for checking if HTML element tree nodes are tree nodes (HTML.is_text()),
and fixes and issue with HTML.is_document(). Also, thanks to a lambdasoup update,
now there is support for :has() selector in options that accept CSS selectors
and another bug fix: namespaces are now correctly preserved in attribute named.
New features
-
It's now possible to use
:has()selector in options that accept CSS selectors (implemented in lambdasoup 1.1.0)
New plugin API functions
-
HTML.is_text(e)— checks if an HTML element tree node is a text node. Thanks to Jayesh Bhoot
Bug fixes
-
HTML.is_document(e)now correctly returns true for values created withHTML.parse()andHTML.create_document(). - Namespaces are now correctly preserved in HTML element attribute names (implemented in lambdasoup 1.1.1).