Browse Source

org-html.el: add a space before attributes in org-html-make-link.

Bastien Guerry 10 years ago
parent
commit
8d879c3870
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lisp/org-html.el

+ 1 - 1
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>")))))