Closed JeromeGillard closed 5 years ago
This bug appears when updating from sonata-project/admin-bundle 3.28 to sonata-project/admin-bundle 3.29 (also seen in 3.30.1)
It also appears in version 3.31.0.
Thx!
This could be easily fixable by adding a new option to output with raw filter. We used safe_label in the past for it.
Hello! Any movement on this? My description fields are also rendering the html tags. Thanks!
Environment
Sonata packages
Symfony packages
PHP version
Subject
Using HTML content for the description option of $formMapper->with() function encodes the HTML and displays HTML tags to the final user. This bug appears when updating from
sonata-project/admin-bundle 3.28
tosonata-project/admin-bundle 3.29
(also seen in3.30.1
)Steps to reproduce
Add an HTML description to a tab:
Expected results
The description's HTML must be interpreted and displayed as a link in browser
Actual results
The description's HTML code is displayed: