roundcubemail/program/lib/Roundcube/rcube_message.php
public function first_html_part(&$part = null, $enriched = false)
    {
        if ($this->has_html_part($enriched, $part)) {
            $body = $this->get_part_body($part->mime_id, true);

            if ($part->mimetype == 'text/enriched') {
                $body = rcube_enriched::to_html($body);
            }

            return $body;
        }
    }
public function first_html_part(&$part = null, $enriched = false)
    {
        if ($this->has_html_part($enriched, $part)) {
            $body = $this->get_part_body($part->mime_id, true);

            if ($part->mimetype == 'text/enriched') {
                $body = rcube_enriched::to_html($body);
            }

            return $body;
        }
    }
public function first_html_part ( & $ part = null , $ enriched = false ) { if ( $ this -> has_html_part ( $ enriched , $ part ) ) { $ body = $ this -> get_part_body ( $ part -> mime_id , true ) ; if ( $ part -> mimetype == 'text/enriched' ) { $ body = rcube_enriched :: to_html ( $ body ) ; } return $ body ; } }
Return the first HTML part of this message

@param rcube_message_part &$part    Reference to the part if found
@param bool               $enriched Enables checking for text/enriched parts too

@return string HTML message part content
Return the first HTML part of this message