changeset 107696:360db9adc347

(mm-add-meta-html-tag): Fix regexp matching meta tag.
author Katsumi Yamaoka <yamaoka@jpl.org>
date Mon, 29 Mar 2010 10:18:13 +0000
parents 831fbe6bd8c0 (current diff) 570e94788418 (diff)
children 11f529f4b5bd aaff69467d86
files
diffstat 2 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/gnus/ChangeLog	Sun Mar 28 16:41:37 2010 -0400
+++ b/lisp/gnus/ChangeLog	Mon Mar 29 10:18:13 2010 +0000
@@ -1,3 +1,7 @@
+2010-03-29  Katsumi Yamaoka  <yamaoka@jpl.org>
+
+	* mm-decode.el (mm-add-meta-html-tag): Fix regexp matching meta tag.
+
 2010-03-27  Chong Yidong  <cyd@stupidchicken.com>
 
 	* message.el (message-default-mail-headers):
--- a/lisp/gnus/mm-decode.el	Sun Mar 28 16:41:37 2010 -0400
+++ b/lisp/gnus/mm-decode.el	Mon Mar 29 10:18:13 2010 +0000
@@ -1265,7 +1265,7 @@
 	(goto-char (point-min))
 	(if (re-search-forward "\
 <meta\\s-+http-equiv=[\"']?content-type[\"']?\\s-+content=[\"']\
-text/\\(\\sw+\\)\\(?:\;\\s-*charset=\\(.+?\\)\\)?[\"'][^>]*>" nil t)
+text/\\(\\sw+\\)\\(?:\;\\s-*charset=\\(.+\\)\\)?[\"'][^>]*>" nil t)
 	    (if (and (match-beginning 2)
 		     (string-match "\\`html\\'" (match-string 1)))
 		;; Don't modify existing meta tag.