Issue Bug Closed

#95713Reports module and html sanitizer is limiting output (icon, javascript...)

Yohann CERDAN 10/20/21, 09:43 updated 10/04/22, 14:13

Description

Hi,

I use to maintain a complex reporting extension who use “Reports” (https://extensions.typo3.org/extension/additional_reports).
Since typo3 v11, reports apply a global sanitize to the output like this :

typo3/sysext/reports/Resources/Private/Templates/Report/Detail.html
{content -> f:transform.html() -> f:sanitize.html()}

But this is limiting us A LOT in the output, for example :
- we cannot use IconFactory like <core:icon identifier="apps-pagetree-page-default" size="small"></core:icon> in our StandaloneView
- we cannot include any javascript in our StandaloneView (i use to have a mini menu that filter datas)

Everything will be encoded, is it possible to find a workarround for this?

Thanks

Reviews 2