Signed-off-by: Julien Danjou <julien@danjou.info>
(gnus-html-put-image): Stop using markers. They are harmful if you have
2 images side-by-side, they can't be properly update on text deletion.
Using text-property is safer here.
+ (gnus-html-image-fetched): Search also for \r\n\r\n to get the start of
+ data.
2010-09-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
(defun gnus-html-image-fetched (status buffer image)
(url-store-in-cache (current-buffer))
- (when (and (search-forward "\n\n" nil t)
+ (when (and (or (search-forward "\n\n" nil t)
+ (search-forward "\r\n\r\n" nil t))
(buffer-live-p buffer))
(let ((data (buffer-substring (point) (point-max))))
(with-current-buffer buffer