Ver Fonte

A few more types of break tags

indiri69 há 21 anos atrás
pai
commit
37e7f721fd
1 ficheiros alterados com 3 adições e 1 exclusões
  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) {
                 $entity_conv = array('&nbsp;' => ' ',
                                      '<p>'    => "\n",
-                                     '<br>'   => "\n",
                                      '<P>'    => "\n",
+                                     '<br>'   => "\n",
                                      '<BR>'   => "\n",
+                                     '<br />' => "\n",
+                                     '<BR />' => "\n",
                                      '&gt;'   => '>',
                                      '&lt;'   => '<');
                 $body = strtr($body, $entity_conv);