Fixed bug #15968: Remove block mode from syntaxhighlighted code
[Packages/TYPO3.CMS.git] / typo3 / sysext / info_pagetsconfig / class.tx_infopagetsconfig_webinfo.php
index 1bafb58..51e2726 100755 (executable)
@@ -127,7 +127,7 @@ class tx_infopagetsconfig_webinfo extends t3lib_extobjbase {
 
                                        $tsparser = t3lib_div::makeInstance('t3lib_TSparser');
                                        $tsparser->lineNumberOffset=0;
-                                       $TScontent = $tsparser->doSyntaxHighlight(trim($v).chr(10),'',1);
+                                       $TScontent = $tsparser->doSyntaxHighlight(trim($v) .LF, '', 0);
 
                                        $lines[]='
                                                <tr><td nowrap="nowrap" class="bgColor5">'.$pTitle.'</td></tr>