summaryrefslogtreecommitdiff
path: root/lisp/gnus/gnus-html.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/gnus/gnus-html.el')
-rw-r--r--lisp/gnus/gnus-html.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/gnus/gnus-html.el b/lisp/gnus/gnus-html.el
index 9c9908e0693..7bfb3cd785d 100644
--- a/lisp/gnus/gnus-html.el
+++ b/lisp/gnus/gnus-html.el
@@ -157,7 +157,7 @@
(set-buffer buffer)
(let ((buffer-read-only nil))
(when (gnus-html-put-image file (cadr spec))
- (delete-region (cadr spec) (caddr spec))))))
+ (delete-region (1+ (cadr spec)) (caddr spec))))))
(when images
(gnus-html-schedule-image-fetching buffer images)))))