Project

General

Profile

Bug #19554 ยป bug_9717.patch

Administrator Admin, 2008-11-02 21:15

View differences:

t3lib/class.t3lib_parsehtml_proc.php (working copy)
// Init:
$this->procOptions = $thisConfig['proc.'];
$this->preserveTags = strtoupper(implode(',',t3lib_div::trimExplode(',',$this->procOptions['preserveTags'])));
// dynamic configuration of blockElementList
if ($this->procOptions['blockElementList']) {
$this->blockElementList = $this->procOptions['blockElementList'];
}
// Get parameters for rte_transformation:
$p = $this->rte_p = t3lib_BEfunc::getSpecConfParametersFromArray($specConf['rte_transform']['parameters']);
......
if (isset($keepTags['span'])) {
$classes=array_merge(array(''),$this->allowedClasses);
$keepTags['span']=array(
'allowedAttribs' => 'class,style,xml:lang',
'allowedAttribs' => 'class,style,title,lang,xml:lang',
'fixAttrib' => Array(
'class' => Array (
'list' => $classes,
    (1-1/1)