Fixes: debbugs:19555
* lisp/net/shr.el (shr-urlify): Decode URLs before using them as titles.
+2015-01-10 Ivan Shmakov <ivan@siamics.net>
+
+ * net/shr.el (shr-urlify): Decode URLs before using them as titles
+ (bug#19555).
+
2015-01-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
* net/eww.el (eww): Always interpret URLs that start with https?:
(add-text-properties
start (point)
(list 'shr-url url
- 'help-echo (if title (shr-fold-text (format "%s (%s)" url title)) url)
+ 'help-echo (let ((iri (or (with-demoted-errors
+ "shr-urlify: %s"
+ (decode-coding-string
+ (url-unhex-string url)
+ 'utf-8 t))
+ url)))
+ (if title (format "%s (%s)" iri title) iri))
'follow-link t
'mouse-face 'highlight
'keymap shr-map)))