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

parent cc857dd0
2014-12-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
* net/shr.el (shr-tag-object): Don't bug out on text elements in
<object>.
2014-12-09 Bozhidar Batsov <bozhidar@batsov.com>
* 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))
(cond
((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