Feature #19671 » trim2.patch

Administrator Admin, 2008-12-04 12:43

View differences:

typo3/sysext/cms/tslib/class.tslib_content.php (Arbeitskopie)
3345 3345
				$content=$this->listNum($content,$listNumber,$conf['listNum.']['splitChar']);
3346 3346
			}
3347 3347

  
3348
			if ($conf['trim'])	{ $content=trim($content); }
3348
			if ($conf['trim']) { 
3349
				if ($conf['trim.']['charList']) {
3350
					$check = explode('|', $conf['trim.']['charList']);
3351
					if (count($check)==3) {
3352
						$content=trim($content, $check[1]);
3353
					} else {
3354
						$content=trim($content, $conf['trim.']['charList']);
3355
					}
3356
					
3357
				} else { 
3358
					$content=trim($content);
3359
				}
3360
			}
3349 3361

  
3350 3362
				// Call stdWrap recursively
3351 3363
			if ($conf['stdWrap.'])	{ $content=$this->stdWrap($content,$conf['stdWrap.']); }
(2-2/2)