org-element: Fix 9f8f32c360
* lisp/org-element.el (org-element-link-parser): Take into consideration links filled and indented.
This commit is contained in:
parent
e7403d6912
commit
f3c79f9181
|
@ -3011,7 +3011,7 @@ Assume point is at the beginning of the link."
|
||||||
;; targets, radio targets and name affiliated keywords
|
;; targets, radio targets and name affiliated keywords
|
||||||
;; cannot contain any.
|
;; cannot contain any.
|
||||||
link (org-link-unescape
|
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.
|
;; Determine TYPE of link and set PATH accordingly.
|
||||||
(cond
|
(cond
|
||||||
;; File type.
|
;; File type.
|
||||||
|
|
Loading…
Reference in New Issue