[BUGFIX] sys_news on login with twice hsc
[Packages/TYPO3.CMS.git] / typo3 / sysext / backend / Classes / Controller / LoginController.php
index 9b20981..1d40d3b 100644 (file)
@@ -536,6 +536,8 @@ class LoginController {
                if (is_array($systemNews) && count($systemNews) && !GeneralUtility::_GP('loginRefresh')) {
                        /** @var $htmlParser \TYPO3\CMS\Core\Html\RteHtmlParser */
                        $htmlParser = GeneralUtility::makeInstance('TYPO3\\CMS\\Core\\Html\\RteHtmlParser');
+                       $htmlParser->procOptions['dontHSC_rte'] = TRUE;
+
                        // Get the main news template, and replace the subpart after looped through
                        $newsContent = HtmlParser::getSubpart($GLOBALS['TBE_TEMPLATE']->moduleTemplate, '###LOGIN_NEWS###');
                        $newsItemTemplate = HtmlParser::getSubpart($newsContent, '###NEWS_ITEM###');