Project

General

Profile

Actions

Bug #20763

closed

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

Added by erik dahlin over 15 years ago. Updated about 11 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2009-07-16
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.1
PHP Version:
5.0
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

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[*/

/*]]>*/
&lt;/style&gt;

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

(issue imported from #M11545)

Actions

Also available in: Atom PDF