summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-11-11The html.parser tree builder now correctly handles DOCTYPEs that areLeonard Richardson
not uppercase. [bug=1848401]
2019-11-11Added a version sentence to the English documentation.Leonard Richardson
2019-11-11Improved the presentation of the Korean translation.Leonard Richardson
2019-11-11Got the Brazilian Portuguese doc to build without warnings.Leonard Richardson
2019-11-11Fixed a deprecation warning on Python 3.7. Patch by ColinLeonard Richardson
Watson. [bug=1847592]
2019-11-11Moved each translation into its own directory.Leonard Richardson
2019-11-11Added a Brazilian Portuguese translation by Cezar Peixeiro.Leonard Richardson
2019-11-10Fix deprecation warning with Python >= 3.7.Colin Watson
Python >= 3.7 issues a deprecation warning when using collections.Callable rather than collections.abc.Callable. Most of Beautiful Soup deals with this by using a conditional import, but the automatic Python 3 conversion apparently translates `callable(obj)` to `isinstance(obj, collections.Callable)` which trips this deprecation warning. `isinstance(obj, Callable)` works fine in Python 2 as well as 3, so just use it directly.
2019-10-06Corrected grammar error.Leonard Richardson
2019-10-06Simplified the README to satisfy pypi's restructuredText parser.Leonard Richardson
2019-10-06Right, that's why I didn't import __version__ from bs4 to begin with.Leonard Richardson
2019-10-06Added section on Python 2 sunsetting.Leonard Richardson
2019-10-05Avoid a crash when unpickling certain parse trees generated using html5lib ↵Leonard Richardson
on Python 3. [bug=1843545]
2019-09-02Avoid a crash when trying to detect the declared encoding of aLeonard Richardson
Unicode document. Raise an explanatory exception when the underlying parser completely rejects the incoming markup. [bug=1838877]
2019-08-26It's now possible to override any of the element classes.Leonard Richardson
2019-08-26Fixed the definition of the default XML namespace when usingLeonard Richardson
lxml 4.4. Patch by Isaac Muse. [bug=1840141]
2019-08-22Mention that you can use a BeautifulSoup object as a Tag when modifying a tree.Leonard Richardson
2019-08-22Test the ability to build a tree using objects other than Tag and ↵Leonard Richardson
NavigableString.
2019-08-21When instantiating a BeautifulSoup object, it's now possible toLeonard Richardson
provide replacement classes to be instantiated for every tag ('tag_class') or string ('string_class') encountered during parsing, rather than using the default Tag and NavigableString objects.
2019-08-21Copying a Tag preserves information that was originally obtained fromLeonard Richardson
the TreeBuilder used to build the original Tag. [bug=1838903]
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
during initial parsing. [bug=1838903]
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 ↵Leonard Richardson
html.parser.
2019-07-20Minor changes to docs and CHANGELOG.Leonard Richardson
2019-07-19Clarified the changelog.Leonard Richardson
2019-07-16Prep for release.Leonard Richardson
2019-07-16Added documentation for Tag.smooth().Leonard Richardson
2019-07-16Suppressed warnings during tests that aren't about the warnings.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-15Improved comments in tests.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
inside a tag. [bug=1812422]
2019-07-07' (which is valid in XML and XHTML, but not HTML 4) is nowLeonard Richardson
recognized as a named entity and converted to a single quote. [bug=1818721]
2019-07-07Renamed the cdata_list_attributes argument to multi_valued_attributes since ↵Leonard Richardson
it's facing the end-user and that's a more easily understandable name.
2019-07-07It's now possible to override a TreeBuilder's cdata_list_attributes ↵Leonard Richardson
dictionary by passing in a replacement. None will disable the feature altogether. [bug=1832978]
2019-07-07It's now possible to customize the TreeBuilder object by passingLeonard Richardson
keyword arguments into the BeautifulSoup constructor. The main reason to do this right now is to change how multi-valued attributes are treated. [bug=1832978]
2019-07-07The web page containing the Korean translation of the documentation has gone ↵Leonard Richardson
down. Replaced it with a Wayback Machine link. [bug=1833873]
2019-07-07Mention getText as a method that had its name changed in the BS3->BS4 ↵Leonard Richardson
transition. [bug=1831151]
2019-06-23Corrected documentation changes; fixes made by Diksha Modi.Leonard Richardson
2019-06-24Updated the documentationDiksha
2019-01-06Prep for release.Leonard Richardson
2019-01-06Tried even harder to avoid the deprecation warning originally fixed inLeonard Richardson
4.6.1. [bug=1778909]
2019-01-06Fixed an incorrectly raised exception when inserting a tag before orLeonard Richardson
after an identical tag. [bug=1810692]
2019-01-06Beautiful Soup will no longer try to keep track of namespaces thatLeonard Richardson
are not defined with a prefix; this can confuse soupselect. [bug=1810680]
2019-01-06Don't track un-prefixed namespacesIsaac Muse
2019-01-06Improved performance of the html5lib link checker -- merge from ↵Leonard Richardson
lp:~facelessuser/beautifulsoup/linkage-performance-fix/+merge/361399 [bug=1810617]
2019-01-06Changed link to changelog in README.Leonard Richardson