Removed weird patch.
authorfidian <fidian@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Thu, 13 Sep 2001 00:31:04 +0000 (00:31 +0000)
committerfidian <fidian@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Thu, 13 Sep 2001 00:31:04 +0000 (00:31 +0000)
:-)  This isn't what I suggested (even though the submitter of the patch
thought so).

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@1505 7612ce4b-ef26-0410-bec9-ea0150e637f0

functions/mime.php

index 345e052..044a486 100644 (file)
          $body = base64_decode($body);
       }
      
-    switch($show_html_default) {
-        case '1': // Safe HTML
-             // Philippe's code
-            break;
-        case '2': // Any HTML
-            break;
-        default: // No HTML
-           $body = str_replace('<', '&lt;', $body);
-            break;
-       }
+      // All other encodings are returned raw.
       return $body;
    }