This a symfony demo to test forms and html sanitization.
In this initial version
Sanitizing HTML from Form Input
does NOT work.
Manual sanitization in the controller works as expected.
Note: A model object is used to remove the extra complexity of a database for this demo.
- a home page with some info and testing text samples.
- a form Sanitizing HTML from Form Input.
- a form Sanitizing HTML in the controller.
- Symfony 6.3
- PHP 8.2 or higher
- CSS framework: Bootstrap 5.3