summaryrefslogtreecommitdiff
path: root/lisp/gnus/shr.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/gnus/shr.el')
-rw-r--r--lisp/gnus/shr.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/lisp/gnus/shr.el b/lisp/gnus/shr.el
index 42118298734..0d9b052f425 100644
--- a/lisp/gnus/shr.el
+++ b/lisp/gnus/shr.el
@@ -445,6 +445,9 @@ the URL of the image to the kill buffer instead."
(string-match "\\`[a-z]*:" url)
(not shr-base))
url)
+ ((and (string-match "\\`//" url)
+ (string-match "\\`[a-z]*:" shr-base))
+ (concat (match-string 0 shr-base) url))
((and (not (string-match "/\\'" shr-base))
(not (string-match "\\`/" url)))
(concat shr-base "/" url))