Bug #14720 ยป class.t3lib_parsehtml.php.param.patch
class.t3lib_parsehtml.php 2005-05-18 13:26:43.968935176 +0200 | ||
---|---|---|
}
|
||
$newTag='<'.trim($tagName.' '.implode(' ',$outA));
|
||
// All tags that are standalone (not wrapping, not having endtags) should be ended with '/>'
|
||
if (t3lib_div::inList('img,br,hr,meta,link,base,area,input',$tagName) || substr($value,-2)=='/>') {
|
||
if (t3lib_div::inList('img,br,hr,meta,link,base,area,input,param,col',$tagName) || substr($value,-2)=='/>') {
|
||
$newTag.=' />';
|
||
} else {
|
||
$newTag.='>';
|