Add option to pass down arguments to the parser in Floki.parse_document/2 and
Floki.parse_fragment/2. Thanks @Kuret.
Add support for returning more elements from the Floki.traverse_and_update/2 function callback.
This enables the creation of more elements in the tree, but should be used with care,
since the tree can grow a lot if the change is not controlled. Thanks @martosaur.
[0.34.1] - 2023-02-11
Fixed
Fix pseudo-class ":not" selector parsing halting point.
This is a fix for when a "pseudo-class" ":not" that contains an attribute selector is
followed by another selector. This is an example: "a:not([class]), div".
Ignore decimal numeric char ref when number is negative.
[0.34.0] - 2022-11-03
Added
User configurable "self-closing" tags. Now it's possible to define which tags are considered
"self-closing". Thanks @inoas.
Fixed
Allow attribute values to not be escaped. This fixes Floki.raw_html/2 when used with the
option encode: false. Thanks @juanazam.
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 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.33.1 to 0.34.2.
Release notes
Sourced from floki's releases.
... (truncated)
Changelog
Sourced from floki's changelog.
Commits
eb0f61b
Release v0.34.29f89380
Support splitting nodes while traversing (#447)f3499c6
Pass arguments to parser modules (#446)da1db15
Bump earmark from 1.4.35 to 1.4.36 (#445)4e0f0ea
Release v0.34.11d20114
Ignore decimal numeric char ref when number is negativef01ac83
Bump earmark from 1.4.34 to 1.4.35 (#443)f22bf9d
Fix pseudo-class ":not" selector parsing halting point (#442)57c07e0
Bump earmark from 1.4.33 to 1.4.34 (#440)ef6f0df
Remove ko-fi from fundingDependabot 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 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)