Index: /Users/martin/Documents/workspace/typo3_core/t3lib/class.t3lib_parsehtml.php =================================================================== --- /Users/martin/Documents/workspace/typo3_core/t3lib/class.t3lib_parsehtml.php (revision 2588) +++ /Users/martin/Documents/workspace/typo3_core/t3lib/class.t3lib_parsehtml.php (working copy) @@ -863,7 +863,7 @@ $parts = $this->splitTags('embed,td,table,body,img,input,form,link,script,a',$content); foreach ($parts as $k => $v) { if ($k%2) { - $params = $this->get_tag_attributes($v,1); + $params = $this->get_tag_attributes($v,0); $tagEnd = substr($v,-2)=='/>' ? ' />' : '>'; // Detect tag-ending so that it is re-applied correctly. $firstTagName = $this->getFirstTagName($v); // The 'name' of the first tag $somethingDone=0;