aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Magne Ingebrigtsen2010-09-06 23:58:34 +0000
committerKatsumi Yamaoka2010-09-06 23:58:34 +0000
commitf39ccb2edd4b8677e163f02a46f8c47c6369dd00 (patch)
tree3540e31b30dcc5b2897f7e953a21eef5394b3bf2
parent26f96aa0845611bd418e13cce1a2a719f6078387 (diff)
downloademacs-f39ccb2edd4b8677e163f02a46f8c47c6369dd00.tar.gz
emacs-f39ccb2edd4b8677e163f02a46f8c47c6369dd00.zip
gnus-html.el (gnus-html-wash-tags): Remove <a name...> tags, which confuses the rest of the function.
-rw-r--r--lisp/gnus/ChangeLog3
-rw-r--r--lisp/gnus/gnus-html.el3
2 files changed, 6 insertions, 0 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog
index 7040aa6ec6c..2adcc66d917 100644
--- a/lisp/gnus/ChangeLog
+++ b/lisp/gnus/ChangeLog
@@ -1,5 +1,8 @@
12010-09-06 Lars Magne Ingebrigtsen <larsi@gnus.org> 12010-09-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
2 2
3 * gnus-html.el (gnus-html-wash-tags): Remove <a name...> tags, which
4 confuses the rest of the function.
5
3 * gnus-start.el (gnus-read-active-for-groups): Do a `gnus-request-scan' 6 * gnus-start.el (gnus-read-active-for-groups): Do a `gnus-request-scan'
4 for the methods that support -retrieve-groups, too. 7 for the methods that support -retrieve-groups, too.
5 8
diff --git a/lisp/gnus/gnus-html.el b/lisp/gnus/gnus-html.el
index 3b7d2527c99..eaa0e99436e 100644
--- a/lisp/gnus/gnus-html.el
+++ b/lisp/gnus/gnus-html.el
@@ -117,6 +117,9 @@ fit these criteria."
117 (while (re-search-forward " *<pre_int> *</pre_int> *\n" nil t) 117 (while (re-search-forward " *<pre_int> *</pre_int> *\n" nil t)
118 (replace-match "" t t)) 118 (replace-match "" t t))
119 (goto-char (point-min)) 119 (goto-char (point-min))
120 (while (re-search-forward "<a name[^>]+>" nil t)
121 (replace-match "" t t))
122 (goto-char (point-min))
120 (while (re-search-forward "<\\([^ />]+\\)\\([^>]*\\)>" nil t) 123 (while (re-search-forward "<\\([^ />]+\\)\\([^>]*\\)>" nil t)
121 (setq tag (match-string 1) 124 (setq tag (match-string 1)
122 parameters (match-string 2) 125 parameters (match-string 2)