]> code.delx.au - gnu-emacs/blobdiff - lisp/gnus/mm-bodies.el
*** empty log message ***
[gnu-emacs] / lisp / gnus / mm-bodies.el
index 23900d0cbec02c988aa54a730cb8fc8fde08979f..e9f8f1e9391c791cce147d71c9946ceb5897f155 100644 (file)
@@ -1,7 +1,7 @@
 ;;; mm-bodies.el --- Functions for decoding MIME things
 
-;; Copyright (C) 1998, 1999, 2000, 2001, 2003, 2004, 2005
-;;        Free Software Foundation, Inc.
+;; Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004,
+;;   2005 Free Software Foundation, Inc.
 
 ;; Author: Lars Magne Ingebrigtsen <larsi@gnus.org>
 ;;     MORIOKA Tomohiko <morioka@jaist.ac.jp>
@@ -228,7 +228,7 @@ If TYPE is `text/plain' CRLF->LF translation may occur."
         nil))
     (when (and
           (memq encoding '(base64 x-uuencode x-uue x-binhex x-yenc))
-          (equal type "text/plain"))
+          (string-match "\\`text/" type))
       (goto-char (point-min))
       (while (search-forward "\r\n" nil t)
        (replace-match "\n" t t)))))