瀏覽代碼

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

Bastien Guerry 14 年之前
父節點
當前提交
8d879c3870
共有 1 個文件被更改,包括 1 次插入1 次删除
  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>")))))