Przeglądaj źródła

Removed weird patch.

:-)  This isn't what I suggested (even though the submitter of the patch
thought so).
Tyler Akins 24 lat temu
rodzic
commit
ec89905b33
1 zmienionych plików z 1 dodań i 10 usunięć
  1. 1 10
      functions/mime.php

+ 1 - 10
functions/mime.php

@@ -691,16 +691,7 @@
          $body = base64_decode($body);
          $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;
       return $body;
    }
    }