summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Guerry <bzg@altern.org>2011-01-04 17:24:47 +0100
committerBastien Guerry <bzg@altern.org>2011-01-04 17:24:47 +0100
commit8d879c387099b3ef86b48d777c53260685a701c8 (patch)
tree6f540cfb39e23118c1896971e1b8a79641199d21
parenta39c35fcd96467223142d7b3a1542a2405eaf2cf (diff)
downloadorg-mode-8d879c387099b3ef86b48d777c53260685a701c8.tar.gz
org-html.el: add a space before attributes in org-html-make-link.
-rw-r--r--lisp/org-html.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/org-html.el b/lisp/org-html.el
index 03a5975..e6f5ed5 100644
--- a/lisp/org-html.el
+++ b/lisp/org-html.el
@@ -789,7 +789,7 @@ MAY-INLINE-P allows inlining it as an image."
(message "image %s %s" thefile org-par-open)
(org-export-html-format-image thefile org-par-open))
(concat
- "<a href=\"" thefile "\"" attr ">"
+ "<a href=\"" thefile "\"" (if attr (concat " " attr)) ">"
(org-export-html-format-desc desc)
"</a>")))))