org-element: Fix 9f8f32c360

* lisp/org-element.el (org-element-link-parser): Take into
  consideration links filled and indented.
This commit is contained in:
Nicolas Goaziou 2013-02-13 13:29:07 +01:00
parent e7403d6912
commit f3c79f9181
1 changed files with 1 additions and 1 deletions

View File

@ -3011,7 +3011,7 @@ Assume point is at the beginning of the link."
;; targets, radio targets and name affiliated keywords
;; cannot contain any.
link (org-link-unescape
(replace-regexp-in-string "\n" " " raw-link)))
(replace-regexp-in-string "\n[ \t]*" " " raw-link)))
;; Determine TYPE of link and set PATH accordingly.
(cond
;; File type.