Skip to content

Commit f444462

Browse files
committed
Merge branch '6.1' into 6.2
* 6.1: [HtmlSanitizer] Fix a few typos in the introduction
2 parents eaa15f6 + 605826b commit f444462

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

html_sanitizer.rst

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@ HTML Sanitizer
55

66
The HTML Sanitizer component was introduced in Symfony 6.1.
77

8-
The HTML Sanitizer components aims at sanitizing/cleaning untrusted HTML
8+
The HTML Sanitizer component aims at sanitizing/cleaning untrusted HTML
99
code (e.g. created by a WYSIWYG editor in the browser) into HTML that can
1010
be trusted. It is based on the `HTML Sanitizer W3C Standard Proposal`_.
1111

1212
The HTML sanitizer creates a new HTML structure from scratch, taking only
1313
the elements and attributes that are allowed by configuration. This means
14-
that the returned HTML is very predicatable (it only contains allowed
14+
that the returned HTML is very predictable (it only contains allowed
1515
elements), but it does not work well with badly formatted input (e.g.
16-
invalid HTML). The sanitizer is targetted for two use-cases:
16+
invalid HTML). The sanitizer is targeted for two use cases:
1717

1818
* Preventing security attacks based on XSS or other technologies relying on
1919
execution of malicious code on the visitors browsers;

0 commit comments

Comments
 (0)