Commit 31a97acf authored by Michael Albinus's avatar Michael Albinus

Merge branch 'emacs-25' of git.sv.gnu.org:/srv/git/emacs into emacs-25

parents 4e62197a 9fb185af
......@@ -1361,7 +1361,7 @@ The preference is a float determined from `shr-prefer-media-type'."
(start (point)))
(unless url
(setq url (car (shr--extract-best-source dom))))
(if image
(if (> (length image) 0)
(shr-tag-img nil image)
(shr-insert " [video] "))
(shr-urlify start (shr-expand-url url))))
......
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