Bug #20339
closedOutput of additionalCSS not valid
100%
Description
Output of tslib_fe::INTincScript_loadJSCode() produes invalid markup: are not valid there.
SteffenG: We're talking english here ;)
Der in der Datei "class.tslib_fe.php" generierte additionalCSS-Code ist nicht valide, da die ausgegebenen Kommentarzeichen "
02659 /*]]>/
02660 </script>';
02661 }
02662 if ($this->JSCode || count($this->additionalJavaScript)) { // Add javascript
02663 $this->additionalHeaderData['JSCode']='
02664 <script type="text/javascript">
02665 /<![CDATA[*/
02666
02670 /*]]>/
02671 </script>';
02672 }
02673 if (count($this->additionalCSS)) { // Add javascript
02674 $this->additionalHeaderData['_CSS']='
02675 <style type="text/css">
02676 /<![CDATA[*/
02677
02680 /*]]>*/
02681 </style>';
02682 }
02683 }
NEU:
02673 if (count($this->additionalCSS)) { // Add CSS
02674 $this->additionalHeaderData['_CSS']='
02675 <style type="text/css">
02676 /*<![CDATA[*/
02677
02678 '.implode(chr(10),$this->additionalCSS).'
02679
02680 /*]]>*/
02681 </style>';
02682 }
(issue imported from #M10955)
Files