(mm-add-meta-html-tag): Fix regexp matching meta tag.
authorKatsumi Yamaoka <yamaoka@jpl.org>
Mon, 29 Mar 2010 11:19:56 +0000 (11:19 +0000)
committerKatsumi Yamaoka <yamaoka@jpl.org>
Mon, 29 Mar 2010 11:19:56 +0000 (11:19 +0000)
lisp/ChangeLog
lisp/mm-decode.el

index 2e04943..3f28af9 100644 (file)
@@ -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-29  Teodor Zlatanov  <tzz@lifelogs.com>
 
        * auth-source.el (auth-source-pick): Fix for non-secrets specifier.
index 8bc659f..58ba3ec 100644 (file)
@@ -1273,7 +1273,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.