[!!!][TASK] Cleanup Flash message rendering in FlashMessageQueue
[Packages/TYPO3.CMS.git] / typo3 / sysext / core / Documentation / Changelog / master / Breaking-67546-CleanupFlashMessageRendering.rst
1 =======================================================================
2 Breaking: #67546 - Cleanup Flash message rendering in FlashMessageQueue
3 =======================================================================
4
5 Description
6 ===========
7
8 The rendering of flash messages was changed when using the view helper.
9 Now the rendering output of ``\TYPO3\CMS\Core\Messaging\FlashMessageQueue::renderFlashMessages()``
10 is adapted to being exactly the same.
11
12
13 Impact
14 ======
15
16 Extensions using the rendered output of ``\TYPO3\CMS\Core\Messaging\FlashMessageQueue::renderFlashMessages()``
17 and in addition using HTML tags in flash messages for styling purposes, will get their HTML flash message output
18 properly HTML encoded. Thus the HTML tags will be visible in the rendered flash message output.
19
20 Since ``\TYPO3\CMS\Backend\Template\DocumentTemplate`` also uses this rendering type, modules using this class
21 will also be affected.
22
23
24 Affected Installations
25 ======================
26
27 All extensions are affected that use modules with ``\TYPO3\CMS\Backend\Template\DocumentTemplate``
28 or are using ``\TYPO3\CMS\Core\Messaging\FlashMessageQueue::renderFlashMessages()`` directly
29
30
31 Migration
32 =========
33
34 Remove all HTML from flash messages