Issue Bug Closed

#20763$GLOBALS['TSFE']->additionalCSS produce invalid CSS

erik dahlin 07/16/09, 11:54 updated 09/09/13, 11:11

Description

The function $GLOBALS[‘TSFE’]->additionalCSS produces CSS that doesn’t validate.

Php code:
$GLOBALS[‘TSFE’]->additionalCSS[‘test’] .= ‘.test {height: 100px;}’;

FE display:
<style type="text/css"><br /> /*<![CDATA<strong>/<br /><!--<br />.test {height: 100px;}<br />// --><br /> /</strong>]&gt;*/<br /></style>

W3C Validator:
Parsingerror // —> /*]]>*/

(issue imported from #M11545)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.