From 630e2d2e6aeba60f178c6ef2b283622070b873b3 Mon Sep 17 00:00:00 2001 From: Katsumi Yamaoka Date: Fri, 17 Feb 2017 10:05:56 +0000 Subject: [PATCH] mm-add-meta-html-tag: Improve regexp * lisp/gnus/mm-decode.el (mm-add-meta-html-tag): Improve regexp to search html meta tag. --- lisp/gnus/mm-decode.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/gnus/mm-decode.el b/lisp/gnus/mm-decode.el index 6b539399596..6683d68a318 100644 --- a/lisp/gnus/mm-decode.el +++ b/lisp/gnus/mm-decode.el @@ -1413,8 +1413,8 @@ Return t if meta tag is added or replaced." (let ((case-fold-search t)) (goto-char (point-min)) (if (re-search-forward "\ -]+\\)\\)?[^>]*>" nil t) +]+\\)\\)?[^>]*>" nil t) (if (and (not force-charset) (match-beginning 2) (string-match "\\`html\\'" (match-string 1))) -- 2.39.5