Deal with bare LF as newline.
authorakr <akr>
Mon, 18 Jan 1999 13:57:07 +0000 (13:57 +0000)
committerakr <akr>
Mon, 18 Jan 1999 13:57:07 +0000 (13:57 +0000)
mime-view.el

index 16b2dc7..7b91b1e 100644 (file)
@@ -471,7 +471,7 @@ Each elements are regexp of field-name.")
     (insert (string-as-multibyte (mime-entity-content entity)))
     (goto-char (point-min))
     (while (re-search-forward
-            "\\(;\\(encoding=\\)?quoted-printable:\\)\\(\\(=[0-9A-F][0-9A-F]\\|=\r\n\\|[^\r\n]\\)*\\)"
+            "\\(;\\(encoding=\\)?quoted-printable:\\)\\(\\(=[0-9A-F][0-9A-F]\\|=\r?\n\\|[^\r\n]\\)*\\)"
             nil t)
       (replace-match
        (concat