X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=src%2Fview_html.php;h=eac3cd90a589c976d8b162305febe3d0b90a4b36;hb=3673a2deb33a13b35bd05b8693da08f1b64fbc42;hp=3581d55517d512acea604d1a3d334b563cc2df08;hpb=47ccfad452e8d345542d09e59112cac317cffed8;p=squirrelmail.git diff --git a/src/view_html.php b/src/view_html.php index 3581d555..eac3cd90 100644 --- a/src/view_html.php +++ b/src/view_html.php @@ -1,7 +1,7 @@ encoding); $body = mime_fetch_body($imap_stream, $passed_id, $ent_id); $body = decodeBody($body, $encoding); +do_hook('message_body', $body); /** * TODO: check if xtra_code is needed. @@ -83,5 +75,3 @@ $body = MagicHTML( $body, $passed_id, $message, $mailbox); /** TODO: charset might be part of html code. */ header('Content-Type: text/html; charset=' . $charset); echo $body; - -?>