Project

General

Profile

Bug #14720 ยป class.t3lib_parsehtml.php.param.patch

Administrator Admin, 2005-05-18 13:27

View differences:

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.='>';
    (1-1/1)