Project

General

Profile

Bug #17705 ยป patch_t3lib_parsehtml.txt

Administrator Admin, 2007-10-19 14:15

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