Feature #19671 » trim.patch

Administrator Admin, 2008-12-03 00:00

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
					$content=trim($content, $conf['trim.']['charList']);
3351
				} else { 
3352
					$content=trim($content);
3353
				}
3354
			}
3349 3355

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