Bug #20763
closed$GLOBALS['TSFE']->additionalCSS produce invalid CSS
0%
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">
/*<![CDATA[*/
/*]]>*/
</style>
W3C Validator:
Parsingerror // --> /*]]>*/
(issue imported from #M11545)
Updated by Steffen Kamper over 15 years ago
i don't see this, it validates with 0 errors and 0 warnings
Updated by erik dahlin over 15 years ago
Forgot to write that its only the css validator that produces an error, not the html one.
http://jigsaw.w3.org/css-validator/
I guess it's the two slashes that wont go through, try writing // in the css validator and the error occurs.
The html comment: and the css comment /* */ both validate fine.
Updated by Alexander Opitz over 11 years ago
- Category deleted (
Communication) - Status changed from New to Needs Feedback
- Target version deleted (
0)
The issue is very old, does this issue exists in newer versions of TYPO3 CMS (4.5 or 6.1)?
Updated by Alexander Opitz about 11 years ago
- Status changed from Needs Feedback to Closed
- Is Regression set to No
No feedback for over 90 days.