Remove <a name...> tags, which confuses the rest of the function.
authorLars Magne Ingebrigtsen <larsi@quimbies.gnus.org>
Mon, 6 Sep 2010 20:02:51 +0000 (22:02 +0200)
committerLars Magne Ingebrigtsen <larsi@quimbies.gnus.org>
Mon, 6 Sep 2010 20:02:51 +0000 (22:02 +0200)
lisp/ChangeLog
lisp/gnus-html.el

index 9501d26..739ddb3 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 3b7d252..eaa0e99 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)