File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff 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
99code (e.g. created by a WYSIWYG editor in the browser) into HTML that can
1010be trusted. It is based on the `HTML Sanitizer W3C Standard Proposal `_.
1111
1212The HTML sanitizer creates a new HTML structure from scratch, taking only
1313the 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
1515elements), 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;
Original file line number Diff line number Diff line change @@ -911,7 +911,7 @@ be ``authenticate``:
911911
912912.. code-block :: html+twig
913913
914- {# templates/security/ login.html.twig #}
914+ {# templates/login/index .html.twig #}
915915
916916 {# ... #}
917917 <form action="{{ path('login') }}" method="post">
You can’t perform that action at this time.
0 commit comments