Project

General

Profile

Feature #19671 » trim2.patch

Administrator Admin, 2008-12-04 12:43

View differences:

typo3/sysext/cms/tslib/class.tslib_content.php (Arbeitskopie)
$content=$this->listNum($content,$listNumber,$conf['listNum.']['splitChar']);
}
if ($conf['trim']) { $content=trim($content); }
if ($conf['trim']) {
if ($conf['trim.']['charList']) {
$check = explode('|', $conf['trim.']['charList']);
if (count($check)==3) {
$content=trim($content, $check[1]);
} else {
$content=trim($content, $conf['trim.']['charList']);
}
} else {
$content=trim($content);
}
}
// Call stdWrap recursively
if ($conf['stdWrap.']) { $content=$this->stdWrap($content,$conf['stdWrap.']); }
(2-2/2)