Skip to content

Commit 605826b

Browse files
committed
minor #16853 [HtmlSanitizer] Fix a few typos in the introduction (sandoba)
This PR was squashed before being merged into the 6.1 branch. Discussion ---------- [HtmlSanitizer] Fix a few typos in the introduction This fixes a few typos in the introduction of the new HtmlSanitizer component. Commits ------- 83eeb92 [HtmlSanitizer] Fix a few typos in the introduction
2 parents fbbca56 + 83eeb92 commit 605826b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

html_sanitizer.rst

Lines changed: 3 additions & 3 deletions
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)