(mm-add-meta-html-tag): Fix regexp matching meta tag.
This commit is contained in:
parent
2a793f7f35
commit
a2c9fe4366
2 changed files with 5 additions and 1 deletions
|
@ -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):
|
||||
|
|
|
@ -1265,7 +1265,7 @@ 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 (match-beginning 2)
|
||||
(string-match "\\`html\\'" (match-string 1)))
|
||||
;; Don't modify existing meta tag.
|
||||
|
|
Loading…
Add table
Reference in a new issue