Implement the Inspect protocol for the Floki.HTMLTree struct.
This struct is currently private. Thank you @vittoriabitton.
Fixed
Fix regression to respect config option :encode in Floki.raw_html/2.
Thanks @Sgoettschkes.
Make the Floki.raw_html/2 treat the contents of the <title> tag as plain text.
The idea is to align with parse_document/2.
Thank you @aymanosman.
[0.36.1] - 2024-03-18
Fixed
Fix typespec of get_by_id/2.
[0.36.0] - 2024-03-01
Added
Add Floki.get_by_id/1 that returns one element by ID or nil.
Thanks @SteffenDE.
Changed
Improve options validation with Keyword.validate!/2.
This is not a change in APIs, but the error messages and opts validation
should be standardized now.
Thanks @vittoriabitton.
Removed
Drop support for Elixir v1.12.
[0.35.4] - 2024-02-19
Besides the fix described below, this release also contains more performance
improvements, thanks to @ypconstante.
Fixed
Fix order of results for Floki.find/2. This was a regression from the
previous version - thanks @ypconstante.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps floki from 0.35.2 to 0.36.2.
Release notes
Sourced from floki's releases.
... (truncated)
Changelog
Sourced from floki's changelog.
... (truncated)
Commits
241eeb2
Release 0.36.2 (#563)1a08395
Fix: read encode_raw_html config as default for raw_html encode option (#561)b3a255b
Bump ex_doc from 0.32.0 to 0.32.1 (#560)b39f416
Bump ex_doc from 0.31.2 to 0.32.0 (#559)39f4313
Implement Inspect protocol for HTMLTree (#547)d1fd549
Fix raw_html to not encode "title" tags (#555)b98dc57
Release v0.36.13d5adab
Bump ex_doc from 0.31.1 to 0.31.2 (#553)be506b4
Fix typespec of get_by_id/2 (#549)6fc70d4
Release v0.36.0Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show