summaryrefslogtreecommitdiff
path: root/bs4/element.py
AgeCommit message (Expand)Author
2023-01-25Passing a Tag's .contents into PageElement.extend() now works theLeonard Richardson
2022-04-07Omit untrusted input when issuing warnings.Leonard Richardson
2021-12-21It's now possible to customize the way output is indented byLeonard Richardson
2021-11-29Do a better job of keeping track of namespaces as an XML document isLeonard Richardson
2021-10-24Used a warning to formally deprecate the 'text' argument in favor of 'string'.Leonard Richardson
2021-10-23Renamed the 'text' field to 'string' for real. Tests are not changed in this ...Leonard Richardson
2021-10-11Added special string classes, RubyParenthesisString and RubyTextString,Leonard Richardson
2021-10-11Broke up some monolithic unit test files.Leonard Richardson
2021-09-07Goodbye, Python 2. [bug=1942919]Leonard Richardson
2021-06-01The 'replace_with()' method now takes a variable number of arguments,Leonard Richardson
2021-02-14NavigableString and its subclasses now implement the get_text()Leonard Richardson
2021-02-13The behavior of methods like .get_text() and .strings now differsLeonard Richardson
2021-02-13Corrected output when the namespace prefix associated with aLeonard Richardson
2020-10-02Implemented a significant performance optimization to the process ofLeonard Richardson
2020-09-26Fixed a bug that inconsistently moved elements over when passingLeonard Richardson
2020-05-17Switch entirely to Python 3-style print statements, even in Python 2.Leonard Richardson
2020-05-17Added a keyword argument on_duplicate_attribute to theLeonard Richardson
2020-04-24If you encode a document with a Python-specific encoding likeLeonard Richardson
2020-04-05Embedded CSS and Javascript is now stored in distinct Stylesheet andLeonard Richardson
2020-04-04Use an :rtype: reported to work in pycharm.Leonard Richardson
2020-04-04select() always returns a Tag, so be more specific about its return type.Leonard Richardson
2020-03-09Make find() methods return a union type of the two most common PageElements, ...Leonard Richardson
2020-03-05Added a performance optimization to PageElement.extract(). Patch by Arthur Da...Leonard Richardson
2020-01-01API CHANGE - Added PageElement.decomposed, a new property which lets youLeonard Richardson
2019-12-24Added :rtype: to the find method docstrings.Leonard Richardson
2019-12-24Added docstrings to diagnose.py.Leonard Richardson
2019-12-18Added Python docstrings to all public methods in element.py.Leonard Richardson
2019-11-10Fix deprecation warning with Python >= 3.7.Colin Watson
2019-10-05Avoid a crash when unpickling certain parse trees generated using html5lib on...Leonard Richardson
2019-08-26Fixed the definition of the default XML namespace when usingLeonard Richardson
2019-08-21Copying a Tag preserves information that was originally obtained fromLeonard Richardson
2019-08-21Explicitly set preserve_whitespace_tags to None if there is no TreeBuilder.Leonard Richardson
2019-08-21Fixed a crash when pretty-printing tags that were not createdLeonard Richardson
2019-07-22Added a section about project support to the README.Leonard Richardson
2019-07-21Implemented line number tracking for html5lib.Leonard Richardson
2019-07-21Adapt Chris Mayo's code to track line number and position when using html.par...Leonard Richardson
2019-07-15Implemented Tag.smooth.Leonard Richardson
2019-07-15Moved the formatter to its own class and updated its documentation.Leonard Richardson
2019-07-14Give the Formatter class more control over formatting decisions.Leonard Richardson
2019-07-07A Formatter can now decide how (or whether) to order the attributesLeonard Richardson
2019-07-07It's now possible to override a TreeBuilder's cdata_list_attributes dictionar...Leonard Richardson
2019-01-06Tried even harder to avoid the deprecation warning originally fixed inLeonard Richardson
2019-01-06Fixed an incorrectly raised exception when inserting a tag before orLeonard Richardson
2018-12-31Improved and tested error checking for insert_before and insert_after.Leonard Richardson
2018-12-30Add convienances for inserting multiple tagsIsaac Muse
2018-12-30Fixed a problem with multi-valued attributes where the valueLeonard Richardson
2018-12-24Clarified the software license.Leonard Richardson
2018-12-24Issue a warning and raise a more useful exception if someone tries to call Ta...Leonard Richardson
2018-12-24Keep track of the namespace abbreviations found while parsing the document. T...Leonard Richardson
2018-12-23Merging Isaac Muse's Soup Sieve branch as-is before making some modifications.Leonard Richardson