[gnus git] branch master updated: m0-7-228-g77fbb40 =1= mm-decode.el (mm-add-meta-html-tag): Fix regexp matching meta tag
Katsumi Yamaoka <[email protected]>
| Newsgroups | gmane.emacs.gnus.cvs |
|---|---|
| Message-ID | <[email protected]> |
via 77fbb40607286b8a7d2b293638f0e3b3488d617b (commit)
from b17fb4d158d3edfb0d4027c8d493c1fff8eeac18 (commit)
- Log -----------------------------------------------------------------
commit 77fbb40607286b8a7d2b293638f0e3b3488d617b
Author: Katsumi Yamaoka <[email protected]>
Date: Tue Sep 17 10:20:07 2013 +0000
mm-decode.el (mm-add-meta-html-tag): Fix regexp matching meta tag
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index ee77808..a993127 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,7 @@
2013-09-17 Katsumi Yamaoka <[email protected]>
+ * mm-decode.el (mm-add-meta-html-tag): Fix regexp matching meta tag.
+
* message.el (message-display-completion-list): Abolish.
(message-completion-in-region): Use display-completion-list.
diff --git a/lisp/mm-decode.el b/lisp/mm-decode.el
index 28d930b..07e66b3 100644
--- a/lisp/mm-decode.el
+++ b/lisp/mm-decode.el
@@ -1415,7 +1415,7 @@ Return t if meta tag is added or replaced."
(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 (not force-charset)
(match-beginning 2)
(string-match "\\`html\\'" (match-string 1)))
-----------------------------------------------------------------------
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we listed those
revisions in full, above.
Summary of changes:
lisp/ChangeLog | 2 ++
lisp/mm-decode.el | 2 +-
2 files changed, 3 insertions(+), 1 deletions(-)
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Gnus Project".
The branch, master has been updated
hooks/post-receive
--
Gnus Project