* shr.el (shr-expand-url): Handle URL starting with `//'.
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
|
||||
|
||||
* shr.el (shr-expand-url): Handle URL starting with `//'.
|
||||
|
||||
2012-06-10 Toke Høiland-Jørgensen <toke@toke.dk> (tiny change)
|
||||
|
||||
* nnmaildir.el (nnmaildir-request-expire-articles): Ensure that `time'
|
||||
|
||||
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user