From c6b144ddc3e49b4dab25f68477d6e9110db31879 Mon Sep 17 00:00:00 2001 From: philippe_mingo Date: Wed, 24 Oct 2001 09:18:32 +0000 Subject: [PATCH] Outputs HTML through the MagicHTML parser git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@1603 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- src/download.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/download.php b/src/download.php index 8103994e..1d73a47b 100644 --- a/src/download.php +++ b/src/download.php @@ -47,9 +47,13 @@ echo "
"; echo "
"; - if ($type1 != "html") + if ($type1 == 'html') { + $body = MagicHTML( $body, $id ); + } else { translateText($body, $wrap_at, $charset); + } + flush(); echo $body; echo "
"; -- 2.25.1