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

(shr-tag-object): Don't bug out on text elements in <object>

parent cc857dd0
2014-12-10 Lars Magne Ingebrigtsen <>
* net/shr.el (shr-tag-object): Don't bug out on text elements in
2014-12-09 Bozhidar Batsov <>
* progmodes/ruby-mode.el (auto-mode-alist): Add .rabl, Berksfile
......@@ -1134,7 +1134,7 @@ ones, in case fg and bg are nil."
(when (string-match "\\`image/svg" type)
(setq url (dom-attr dom 'data)
image t)))
(dolist (child (dom-children dom))
(dolist (child (dom-non-text-children dom))
((eq (dom-tag child) 'embed)
(setq url (or url (dom-attr child 'src))
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