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

Steffen Kamper steffen at sk-typo3.de
Sun Mar 16 22:41:40 CET 2008


"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 






More information about the TYPO3-dev mailing list