Index: trunk/kernel/include/emailmessage.php =================================================================== diff -u -r534 -r537 --- trunk/kernel/include/emailmessage.php (.../emailmessage.php) (revision 534) +++ trunk/kernel/include/emailmessage.php (.../emailmessage.php) (revision 537) @@ -311,7 +311,6 @@ $next_tag = strpos($html,"",$next_tag); @@ -378,7 +377,7 @@ } function ParseElement($raw, $inner_html ="") - { + { $tag = new clsHtmlTag($raw); $tag->inner_html = $inner_html; @@ -390,7 +389,8 @@ } else { - if (is_object($this->Item)) { + if (is_object($this->Item)) { + $this->Item->TagPrefix = $tag->name; $output = $this->Item->ParseObject($tag); } else {