diff options
| author | Lars Magne Ingebrigtsen | 2010-09-06 23:58:34 +0000 |
|---|---|---|
| committer | Katsumi Yamaoka | 2010-09-06 23:58:34 +0000 |
| commit | f39ccb2edd4b8677e163f02a46f8c47c6369dd00 (patch) | |
| tree | 3540e31b30dcc5b2897f7e953a21eef5394b3bf2 | |
| parent | 26f96aa0845611bd418e13cce1a2a719f6078387 (diff) | |
| download | emacs-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/ChangeLog | 3 | ||||
| -rw-r--r-- | lisp/gnus/gnus-html.el | 3 |
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 @@ | |||
| 1 | 2010-09-06 Lars Magne Ingebrigtsen <larsi@gnus.org> | 1 | 2010-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) |