[TYPO3-dev] TYPO3 4.2: Tables in content elements break backend layout

Uschi Renziehausen typo3news at otherone.de
Sun Mar 16 23:09:28 CET 2008


Hi Steffen,
Steffen Kamper wrote:
> "Steffen Kamper" <steffen at sk-typo3.de> schrieb im Newsbeitrag 
> news:mailman.1.1205703706.23963.typo3-dev at lists.netfielders.de...
>> "Martin Kutschker" <martin.kutschker-n0spam at no5pam-blackbox.net> schrieb 
>> im Newsbeitrag 
>> news:mailman.1.1205695088.16582.typo3-dev at lists.netfielders.de...
>>> Steffen Kamper schrieb:
>>>> i can't confirm that, in my preview every td is displayed in a single 
>>>> line.
>>> Where do those slashes come from?
>>>
>>> Masi
>> i looked into source and this slashes are fragments from function 
>> strip_tags in class.tx_cms_layout.php.
>> Can you explain what this expression does?
>> $content = preg_replace('/(<[^ >]* )([^ >]*)([^>]*>)(<\/[^>]*>)/', 
>> '$1$2$3$2$4', $content);
>>
>> vg  Steffen
> 
> btw - in this function i saw this too:
> $content = preg_replace('/<br.?\/?>/', chr(10), $content);
> 
> why? nl2br does it also with <br /> , may be this was not supported with 
> older php-version?
> 
> vg Steffen 
> 

I am interested why you have those slashes and I do not have them. Is 
this because I am using TV?

Uschi
> 




More information about the TYPO3-dev mailing list