Add attributes also to mailto and ftp links.

This commit is contained in:
Carsten Dominik 2008-07-24 11:24:48 -07:00
parent 3cf6fc4393
commit a66568abb9
2 changed files with 5 additions and 2 deletions

View File

@ -1,5 +1,8 @@
2008-07-24 Carsten Dominik <dominik@science.uva.nl>
* org-exp.el (org-export-as-html): Add attributes also in mailto
and ftp links.
* org.el (org-autoload): Add `org-dblock-write:columnview'.
@ -7,7 +10,7 @@
2008-07-23 Carsten Dominik <dominik@science.uva.nl>

View File

@ -3072,7 +3072,7 @@ lang=\"%s\" xml:lang=\"%s\">
((member type '("ftp" "mailto" "news"))
;; standard URL
(setq link (concat type ":" path))
(setq rpl (concat "<a href=\"" link "\">" desc "</a>")))
(setq rpl (concat "<a href=\"" link "\"" attr ">" desc "</a>")))
((functionp (setq fnc (nth 2 (assoc type org-link-protocols))))
;; The link protocol has a function for format the link