瀏覽代碼

Removed weird patch.

:-)  This isn't what I suggested (even though the submitter of the patch
thought so).
Tyler Akins 24 年之前
父節點
當前提交
ec89905b33
共有 1 個文件被更改,包括 1 次插入10 次删除
  1. 1 10
      functions/mime.php

+ 1 - 10
functions/mime.php

@@ -691,16 +691,7 @@
          $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;
    }