Export: Do not HTML process URLs when they are also used as descriptions.

This commit is contained in:
Carsten Dominik 2009-01-07 13:25:46 +01:00
parent 6b686333fb
commit d31ebe2c98
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2009-01-07 Carsten Dominik <carsten.dominik@gmail.com>
* org-exp.el (org-export-normalize-links): If the link is also
used as the description, protect the description.
2009-01-06 Carsten Dominik <carsten.dominik@gmail.com>
* org.el (org-closest-date): Fix bug with yearly repeats, in

View File

@ -2054,7 +2054,10 @@ When it is nil, all comments will be removed."
"[[" xx "]"
(if (match-end 3)
(match-string 2)
(concat "[" xx "]"))
(concat "[" (org-add-props
(copy-sequence xx)
'(org-protected t))
"]"))
"]")))
(put-text-property 0 (length s) 'face 'org-link s)
(replace-match s t t))))))