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
e330b646
Commit
e330b646
authored
Dec 07, 2013
by
Lars Magne Ingebrigtsen
Browse files
* net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
parent
0494d994
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 @
e330b646
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):
...
...
lisp/net/shr.el
View file @
e330b646
...
...
@@ -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"))
...
...
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