Jelajahi Sumber

A few more types of break tags

indiri69 21 tahun lalu
induk
melakukan
37e7f721fd
1 mengubah file dengan 3 tambahan dan 1 penghapusan
  1. 3 1
      functions/mime.php

+ 3 - 1
functions/mime.php

@@ -374,9 +374,11 @@ function formatBody($imap_stream, $message, $color, $wrap_at, $ent_num, $id, $ma
             if ($show_html_default <> 1) {
             if ($show_html_default <> 1) {
                 $entity_conv = array('&nbsp;' => ' ',
                 $entity_conv = array('&nbsp;' => ' ',
                                      '<p>'    => "\n",
                                      '<p>'    => "\n",
-                                     '<br>'   => "\n",
                                      '<P>'    => "\n",
                                      '<P>'    => "\n",
+                                     '<br>'   => "\n",
                                      '<BR>'   => "\n",
                                      '<BR>'   => "\n",
+                                     '<br />' => "\n",
+                                     '<BR />' => "\n",
                                      '&gt;'   => '>',
                                      '&gt;'   => '>',
                                      '&lt;'   => '<');
                                      '&lt;'   => '<');
                 $body = strtr($body, $entity_conv);
                 $body = strtr($body, $entity_conv);