From: Lars Magne Ingebrigtsen Date: Sun, 29 Aug 2010 02:47:30 +0000 (+0200) Subject: We may not actually find the end tag, so protect against that. X-Git-Url: http://cgit.sxemacs.org/?a=commitdiff_plain;h=baf506b1ca16ff243076fb1a2ce1f8662a0f5ebc;p=gnus We may not actually find the end tag, so protect against that. --- diff --git a/lisp/gnus-html.el b/lisp/gnus-html.el index 2492545a1..5eced5f44 100644 --- a/lisp/gnus-html.el +++ b/lisp/gnus-html.el @@ -69,7 +69,7 @@ parameters (match-string 2) start (match-beginning 0)) (delete-region start (point)) - (when (search-forward (concat "")) + (when (search-forward (concat "") nil t) (delete-region (match-beginning 0) (match-end 0))) (setq end (point)) (cond