Przeglądaj źródła

org-element: Fix 9f8f32c3603bbb2c6f788cb177c5fb193d86dd57

* lisp/org-element.el (org-element-link-parser): Take into
  consideration links filled and indented.
Nicolas Goaziou 12 lat temu
rodzic
commit
f3c79f9181
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      lisp/org-element.el

+ 1 - 1
lisp/org-element.el

@@ -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.