Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[2.x] Replacing built-in sanitizer with symfony/html-sanitizer #51

Open
megasteve19 opened this issue Aug 12, 2023 · 0 comments · May be fixed by #61
Open

[2.x] Replacing built-in sanitizer with symfony/html-sanitizer #51

megasteve19 opened this issue Aug 12, 2023 · 0 comments · May be fixed by #61
Assignees
Labels
Breaking Change Backwards incompatible enhancement New feature or request
Milestone

Comments

@megasteve19
Copy link
Member

Current sanitizer is using DOMDocument with strip_tags instead using symfony/html-sanitizer would be more convinient since DOMDocument is not so good.

@megasteve19 megasteve19 added enhancement New feature or request Breaking Change Backwards incompatible labels Aug 12, 2023
@megasteve19 megasteve19 self-assigned this Aug 12, 2023
@megasteve19 megasteve19 added this to the 2.0 milestone Aug 12, 2023
megasteve19 added a commit that referenced this issue Jan 29, 2024
- Remove `Data` class (#60)
- Rename `allows` to `sanitize` (#59)
- Virtual attributes, both for EditorPhp and Block (#57)
- Replacing built-in sanitizer with `symfony/html-sanitizer` (#51)
- Remove `$root` and `$model` from `EditorPhp`, which `$root` renamed to `$parent` (#42)

Also lots of refactors and template adjustments.
@megasteve19 megasteve19 linked a pull request Jan 29, 2024 that will close this issue
@megasteve19 megasteve19 linked a pull request Jan 29, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Breaking Change Backwards incompatible enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant