mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-22 18:35:09 +00:00
Fix relative links to parent directories in shr
* lisp/net/shr.el (shr-expand-url): Use `expand-file-name' for relative links. . Fixes: debbugs:17217
This commit is contained in:
parent
ac6ec89c15
commit
f596f897c6
@ -1,3 +1,8 @@
|
||||
2014-04-14 João Távora <joaotavora@gmail.com>
|
||||
|
||||
* net/shr.el (shr-expand-url): Use `expand-file-name' for relative
|
||||
links. (Bug#17217).
|
||||
|
||||
2014-04-14 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
|
||||
|
||||
* vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
|
||||
|
@ -610,7 +610,7 @@ size, and full-buffer size."
|
||||
(concat (nth 3 base) url))
|
||||
(t
|
||||
;; Totally relative.
|
||||
(concat (car base) (cadr base) url))))
|
||||
(concat (car base) (expand-file-name url (cadr base))))))
|
||||
|
||||
(defun shr-ensure-newline ()
|
||||
(unless (zerop (current-column))
|
||||
|
Loading…
Reference in New Issue
Block a user