org-export: Consider colons as a safe character for targets

* contrib/lisp/org-export.el (org-export-solidify-link-text): Consider
  colons as a safe character for targets.
This commit is contained in:
Nicolas Goaziou 2012-11-08 00:36:41 +01:00
parent c149e04ade
commit 359891f811
1 changed files with 1 additions and 1 deletions

View File

@ -3349,7 +3349,7 @@ INFO is a plist used as a communication channel."
(defun org-export-solidify-link-text (s)
"Take link text S and make a safe target out of it."
(save-match-data
(mapconcat 'identity (org-split-string s "[^a-zA-Z0-9_.-]+") "-")))
(mapconcat 'identity (org-split-string s "[^a-zA-Z0-9_.-:]+") "-")))
(defun org-export-get-coderef-format (path desc)
"Return format string for code reference link.