Age | Commit message (Collapse) | Author | |
---|---|---|---|
2024-08-21 | * Changes to make tests work whether tests are run under soupsieve 2.6 | Leonard Richardson | |
or an earlier version. Based on a patch by Stefano Rivera. * Removed the strip_cdata argument to lxml's HTMLParser constructor, which never did anything and is deprecated as of lxml 5.3.0. Patch by Stefano Rivera. [bug=2076897] | |||
2023-12-03 | Corrected a typo in a test that was causing test failures when run against | Leonard Richardson | |
libxml2 2.12.1. [bug=2045481] | |||
2023-06-04 | Fixed a case found by Mengyuhan where html.parser giving up on | Leonard Richardson | |
markup would result in an AssertionError instead of a ParserRejectedMarkup exception. | |||
2023-05-12 | Remove a fuzz case that was caused by bad fuzzer code. | Leonard Richardson | |
2023-05-12 | Added more clusterfuzz cases and a copy of the new oss-fuzz code for parsing ↵ | Leonard Richardson | |
and running them. | |||
2023-04-17 | Fixed a regression such that if you set .hidden on a tag, the tag | Leonard Richardson | |
becomes invisible but its contents are still visible. User manipulation of .hidden is not a documented or supported feature, so don't do this, but it's not too difficult to keep the old behavior working. | |||
2023-04-07 | Fixed an unhandled exception in BeautifulSoup.decode_contents | Leonard Richardson | |
and methods that call it. [bug=2015545] | |||
2023-04-05 | Rename the test case markup files with a .testcase extension so the manifest ↵ | Leonard Richardson | |
can be made more strict about what it includes. | |||
2023-03-31 | Now that 1471755 has been fixed, we can un-skip a number of the clusterfuzz ↵ | Leonard Richardson | |
test cases. | |||
2023-03-27 | Make it possible to pickle a deeply nested BeautifulSoup object. | Leonard Richardson | |
2023-03-27 | Slightly optimized a slow test. | Leonard Richardson | |
2023-03-24 | Implement nonrecursive versions of copy and deepcopy using the new ↵ | Leonard Richardson | |
_event_strem generator. | |||
2023-03-24 | Added a test just to verify that you can encode a document more deeply ↵ | Leonard Richardson | |
nested than the Python recursion limit. | |||
2023-03-24 | Keep track of the specific tag that put us into string literal mode, and ↵ | Leonard Richardson | |
only exit when that particular tag is closed. | |||
2023-03-21 | Reimplemented the pretty-print algorithm to remove recursive function calls. | Leonard Richardson | |
2023-03-20 | Removed an html5lib fuzz test case that is marked as fixed in oss-fuzz and ↵ | Leonard Richardson | |
was probably not ever an issue. | |||
2023-03-20 | Linked another html5lib crash to the fuzz tests. | Leonard Richardson | |
2023-03-20 | Added fuzz tests. | Leonard Richardson | |
2023-03-20 | Added a test harness for clusterfuzz test cases. | Leonard Richardson | |
2023-02-15 | When the html.parser parser decides it can't parse a document, Beautiful | Leonard Richardson | |
Soup now consistently propagates this fact by raising a ParserRejectedMarkup error. [bug=2007343] | |||
2023-02-10 | Add compile method | facelessuser | |
2023-02-10 | Remove unnecessary test and don't pass namespace on precompiled select | facelessuser | |
2023-02-07 | Removed Soup Sieve fallback method, added documentation. | Leonard Richardson | |
2023-02-04 | Added a __getattr__ fallback. | Leonard Richardson | |
2023-02-03 | Added tests of CSS.escape. | Leonard Richardson | |
2023-02-03 | Move the Soup Sieve proxy and its tests into separate files. | Leonard Richardson | |
2023-02-03 | Consistently use the name 'tag' instead of 'element,' since CSS selectors ↵ | Leonard Richardson | |
only operate on tags. Verify that select() and filter() return ResultSets. | |||
2023-02-02 | Test implementation. | Leonard Richardson | |
2023-01-31 | Fixed missing import that caused test failures when Soup Sieve is installed. | Leonard Richardson | |
2023-01-31 | Consistently use pytest.mark.skipif to skip tests when the corresponding ↵ | Leonard Richardson | |
libraries are not installed. | |||
2023-01-29 | Reworded the 'multi-valued attributes' portion of the documentation to make ↵ | Leonard Richardson | |
it more clear. [bug=1970767] | |||
2023-01-27 | Parametrize the 'string is deprecated' warning test so we can test all of ↵ | Leonard Richardson | |
the relevant methods. | |||
2023-01-27 | Check the associated filename for more warnings. | Leonard Richardson | |
2023-01-27 | Change the tests that check warnings to also (indirectly) verify that the ↵ | Leonard Richardson | |
stacklevel associated with the warning is more or less correct. | |||
2023-01-27 | Got rid of some more warnings by removing code that's not relevant anymore, ↵ | Leonard Richardson | |
now that the minimum supported Python version is 3.6. | |||
2023-01-25 | Tag.interesting_string_types is now propagated when a tag is | Leonard Richardson | |
copied. [bug=1990400] | |||
2023-01-25 | Made the ISO-8859 test robust in a less hacky way. | Leonard Richardson | |
2023-01-25 | Made the ISO-8859-1 smoke test more robust. | Leonard Richardson | |
2023-01-25 | The HTMLFormatter and XMLFormatter constructors no longer return a | Leonard Richardson | |
value. [bug=1992693] | |||
2023-01-25 | Passing a Tag's .contents into PageElement.extend() now works the | Leonard Richardson | |
same way as passing the Tag itself. | |||
2022-05-15 | Fixed a test failure when cchardet is not installed but | Leonard Richardson | |
charset_normalizer is. [bug=1973072] | |||
2022-04-10 | Fixed another crash when overriding multi_valued_attributes and using the | Leonard Richardson | |
html5lib parser. [bug=1948488] | |||
2022-04-07 | Omit untrusted input when issuing warnings. | Leonard Richardson | |
2021-12-21 | It's now possible to customize the way output is indented by | Leonard 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-17 | Fix a crash when pickling a BeautifulSoup object that has no | Leonard Richardson | |
tree builder. [bug=1934003] | |||
2021-11-29 | Do a better job of keeping track of namespaces as an XML document is | Leonard Richardson | |
parsed, so that CSS selectors that use namespaces will do the right thing more often. [bug=1946243] | |||
2021-10-24 | Added test of warn_if_markup_looks_like_xml. | Leonard Richardson | |
2021-10-24 | Issue a warning when an HTML parser is used to parse a document that | Leonard Richardson | |
looks like XML but not XHTML. [bug=1939121] | |||
2021-10-24 | Used a warning to formally deprecate the 'text' argument in favor of 'string'. | Leonard Richardson | |
2021-10-23 | Changing find* tests to use string instead of text, except for one test that ↵ | Leonard Richardson | |
specifically checks that text is an alias for string. |