derhansen / sf_banners

Banner-Management is a banner management extension for TYPO3. It is based of Extbase and Fluid. Banners are loaded asynchronously using JavaScript so the page load time is affected as less as possible.
GNU General Public License v2.0
10 stars 20 forks source link

[BUG] HTML banner output #264

Closed bocianl closed 6 months ago

bocianl commented 6 months ago

Hello, I have a problem with an html banner output. Banner in HTML format as shown as text instead of HTML code.

image

TYPO3 12.4.13 sf_banners 7.0.3

Thank you.

derhansen commented 6 months ago

Thanks for your report. It seems no one really uses this functionality, at it most likely is broken since the introduction of TYPO3 HTML Sanitizer.

I will publish a fix soon. Change f:format.html to f:format.raw in https://github.com/derhansen/sf_banners/blob/main/Resources/Private/Partials/Banner/HtmlBanner.html#L3

bocianl commented 6 months ago

It works! Thank you! :)

derhansen commented 6 months ago

Fixed with 6.1.0 and 7.1.0 - but HTML banners are not disabled by default for non-admin users and must be enabled in extension settings.