summaryrefslogtreecommitdiff
path: root/doc/source/index.rst
AgeCommit message (Collapse)Author
2022-04-07Incremented version number in documentation.Leonard Richardson
2021-12-22Correct documentation on parser differencesFeRD (Frank Dana)
2021-12-21Added a bit about not modifying the .contents list directly.Leonard Richardson
2021-12-21Fixed typo in documentation spotted by a reader.Leonard Richardson
2021-12-21It's now possible to customize the way output is indented byLeonard Richardson
providing a value for the 'indent' argument to the Formatter constructor. The 'indent' argument works very similarly to the argument of the same name in the Python standard library's json.dump() method. [bug=1955497]
2021-12-19If the charset-normalizer Python moduleLeonard Richardson
(https://pypi.org/project/charset-normalizer/) is installed, Beautiful Soup will use it to detect the character sets of incoming documents. This is also the module used by newer versions of the Requests library. For the sake of backwards compatibility, chardet and cchardet both take precedence if installed. [bug=1955346]
2021-11-29Do a better job of keeping track of namespaces as an XML document isLeonard Richardson
parsed, so that CSS selectors that use namespaces will do the right thing more often. [bug=1946243]
2021-10-11Removed redundant and nonworking argument from example code. [bug=1946243]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
and can be used to replace a single element with a sequence of elements. Patch by Bill Chandos.
2021-04-08Brought in fuzz tests from the oss-project into Beautiful Soup's unit test ↵Leonard Richardson
suite.
2021-02-14NavigableString and its subclasses now implement the get_text()Leonard Richardson
method, as well as the properties .strings and .stripped_strings. These methods will either return the string itself, or nothing, so the only reason to use this is when iterating over a list of mixed Tag and NavigableString objects. [bug=1904309]
2021-02-14The 'html5' formatter now treats attributes whose values are theLeonard Richardson
empty string as HTML boolean attributes. Previously (and in other formatters), an attribute value must be set as None to be treated as a boolean attribute. In a future release, I plan to also give this behavior to the 'html' formatter. Patch by Isaac Muse. [bug=1915424]
2020-10-03I always forget to bump the version number in the doc.Leonard Richardson
2020-09-26Changed version number of development Python in use.Leonard Richardson
2020-09-26Incremented version number in the documentation.Leonard Richardson
2020-09-26Fixed a bug that inconsistently moved elements over when passingLeonard Richardson
a Tag, rather than a list, into Tag.extend(). [bug=1885710]
2020-07-29Ran through all of the documentation code examples using Python 3, corrected ↵Leonard Richardson
discrepancies and errors, and updated representations.
2020-07-24Added a paragraph to the documentation about the fact that bs4 Tag ↵Leonard Richardson
implements __hash__ and bs3 Tag doesn't.
2020-06-11Converted the sample code in README.md to Python 3.Leonard Richardson
2020-05-31Make the doc a little less defensive.Leonard Richardson
2020-05-31Added to the troubleshooting section a bit to catch searches for the ↵Leonard Richardson
AttributeError that happens if you treat a string like a tag.
2020-05-30Remove explicit reference to the module name within the module, replacing it ↵Leonard Richardson
with __name__.
2020-05-17Documented some recently added customization features.Leonard Richardson
2020-05-17Added docstring for BeautifulSoup.new_tag.Leonard Richardson
2020-04-25Try to clarify the docs further that get_text now returns human-readable text.Leonard Richardson
2020-04-24If you encode a document with a Python-specific encoding likeLeonard Richardson
'unicode_escape', that encoding is no longer mentioned in the final XML or HTML document. Instead, encoding information is omitted or left blank. [bug=1874955]
2020-04-07Added a notice about the new behavior of .text to the documentation.Leonard Richardson
2020-04-05Embedded CSS and Javascript is now stored in distinct Stylesheet andLeonard Richardson
Script tags, which are ignored by methods like get_text(). This feature is not supported by the html5lib treebuilder. [bug=1868861]
2020-04-04Added a Russian translation by 'authoress' to the repository.Leonard Richardson
2020-03-06Added a paragraph about the fact that prettify() adds whitespace to a document.Leonard Richardson
2020-01-23Fix a confusing typo in the description of formatter="html5".Colin Watson
2020-01-01API CHANGE - Added PageElement.decomposed, a new property which lets youLeonard Richardson
check whether you've already called decompose() on a Tag or NavigableString.
2019-12-24Clarify the expected output to hopefully make it clear that part of a long ↵Leonard Richardson
paragraph is being omitted.
2019-12-24Minor changes to docstrings.Leonard Richardson
2019-12-24Added docstrings to all public methods in dammit.py.Leonard Richardson
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-11Moved each translation into its own directory.Leonard Richardson
2019-11-11Added a Brazilian Portuguese translation by Cezar Peixeiro.Leonard Richardson
2019-08-22Mention that you can use a BeautifulSoup object as a Tag when modifying a tree.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-16Prep for release.Leonard Richardson
2019-07-16Added documentation for Tag.smooth().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-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-07The web page containing the Korean translation of the documentation has gone ↵Leonard Richardson
down. Replaced it with a Wayback Machine link. [bug=1833873]