Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
ef8892db
Commit
ef8892db
authored
Dec 10, 2014
by
Lars Magne Ingebrigtsen
Browse files
(shr-tag-object): Don't bug out on text elements in <object>
parent
cc857dd0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
lisp/ChangeLog
lisp/ChangeLog
+5
-0
lisp/net/shr.el
lisp/net/shr.el
+1
-1
No files found.
lisp/ChangeLog
View file @
ef8892db
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
...
...
lisp/net/shr.el
View file @
ef8892db
...
...
@@ -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
))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment