Sanitize link encoding
commit2c27e85f11aeb4bbf2b3cfea91e6d0a2f8fa4ab6
authorNicolas Goaziou <mail@nicolasgoaziou.fr>
Tue, 16 Jun 2015 20:11:16 +0000 (16 22:11 +0200)
committerNicolas Goaziou <mail@nicolasgoaziou.fr>
Tue, 16 Jun 2015 21:24:38 +0000 (16 23:24 +0200)
tree435f2549f19b4a21d9b2d7cd8816b44ea69613d2
parent2cddb905a452e7c4d394cc697c9f5e12e2abc4b1
Sanitize link encoding

* lisp/org.el (org-store-link): Improve docstring.
(org-make-link-string): Escape internal links only when absolutely
necessary.
(org-link-escape-chars): Add percent character.
(org-link-escape-chars-browser): Make space character more visible.
(org-link-escape): Refactor code.
(org-display-inline-images): Properly unescape path before creating
the link.
(org-extract-attributes): Remove function.

* lisp/ox.el (org-export-resolve-fuzzy-link): Decode path before
  resolving link.

* testing/lisp/test-ox.el (test-org-export/resolve-fuzzy-link): Add
  test.
lisp/org.el
lisp/ox.el
testing/lisp/test-ox.el