mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-03-03 04:21:28 -08:00
lisp/gnus/mm-decode.el (mm-add-meta-html-tag): Fix regexp matching meta tag
This commit is contained in:
parent
5cf10af897
commit
07dd2ea47f
2 changed files with 3 additions and 1 deletions
|
|
@ -1,5 +1,7 @@
|
|||
2013-09-17 Katsumi Yamaoka <yamaoka@jpl.org>
|
||||
|
||||
* 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.
|
||||
|
||||
|
|
|
|||
|
|
@ -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)))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue