]> git.eshelyaron.com Git - emacs.git/commitdiff
gnus-html.el (gnus-html-wash-tags): Remove <a name...> tags, which confuses the rest...
authorLars Magne Ingebrigtsen <larsi@gnus.org>
Mon, 6 Sep 2010 23:58:34 +0000 (23:58 +0000)
committerKatsumi Yamaoka <yamaoka@jpl.org>
Mon, 6 Sep 2010 23:58:34 +0000 (23:58 +0000)
lisp/gnus/ChangeLog
lisp/gnus/gnus-html.el

index 7040aa6ec6cc891137459acdba0fa8927564fc99..2adcc66d917e567c23f6e6036961c2d3bc863398 100644 (file)
@@ -1,5 +1,8 @@
 2010-09-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 
+       * gnus-html.el (gnus-html-wash-tags): Remove <a name...> tags, which
+       confuses the rest of the function.
+
        * gnus-start.el (gnus-read-active-for-groups): Do a `gnus-request-scan'
        for the methods that support -retrieve-groups, too.
 
index 3b7d2527c99f7d4f95aeacec4f5634f50e589f0a..eaa0e99436eae5ab6e3c3cfe086cdd0b64eee6de 100644 (file)
@@ -117,6 +117,9 @@ fit these criteria."
     (while (re-search-forward " *<pre_int> *</pre_int> *\n" nil t)
       (replace-match "" t t))
     (goto-char (point-min))
+    (while (re-search-forward "<a name[^>]+>" nil t)
+      (replace-match "" t t))
+    (goto-char (point-min))
     (while (re-search-forward "<\\([^ />]+\\)\\([^>]*\\)>" nil t)
       (setq tag (match-string 1)
            parameters (match-string 2)