projects
/
org-mode.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
c149e04
)
org-export: Consider colons as a safe character for targets
author
Nicolas Goaziou
<n.goaziou@gmail.com>
Wed, 7 Nov 2012 23:36:41 +0000 (
00:36
+0100)
committer
Nicolas Goaziou
<n.goaziou@gmail.com>
Wed, 7 Nov 2012 23:36:41 +0000 (
00:36
+0100)
* contrib/lisp/org-export.el (org-export-solidify-link-text): Consider
colons as a safe character for targets.
contrib/lisp/org-export.el
patch
|
blob
|
history
diff --git
a/contrib/lisp/org-export.el
b/contrib/lisp/org-export.el
index
0d7dbf7
..
fd67707
100644
(file)
--- a/
contrib/lisp/org-export.el
+++ b/
contrib/lisp/org-export.el
@@
-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.