Commit e330b646 authored by Lars Magne Ingebrigtsen's avatar Lars Magne Ingebrigtsen
Browse files

* net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.

parent 0494d994
2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
* net/shr.el (shr-tag-img): Don't bug out on <img src="">
data.
2013-12-06 Michael Albinus <michael.albinus@gmx.de>
* progmodes/compile.el (compilation-start):
......
......@@ -1173,7 +1173,7 @@ The preference is a float determined from `shr-prefer-media-type'."
(defun shr-tag-img (cont &optional url)
(when (or url
(and cont
(cdr (assq :src cont))))
(> (length (cdr (assq :src cont))) 0)))
(when (and (> (current-column) 0)
(not (eq shr-state 'image)))
(insert "\n"))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment