浏览代码

ox-html.el (org-html-link): Fix bug.

Thanks to Chuck Berry for reporting it.
Bastien Guerry 12 年之前
父节点
当前提交
c857077351
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      lisp/ox-html.el

+ 1 - 1
lisp/ox-html.el

@@ -2169,7 +2169,7 @@ INFO is a plist holding contextual information.  See
 		'identity
 		(let ((att (org-element-property
 			    :attr_html (org-export-get-parent-element link))))
-		  (unless (and desc (string-match (regexp-quote (car att)) desc)) att))
+		  (unless (and desc att (string-match (regexp-quote (car att)) desc)) att))
 		" "))
 	 (setq attributes (concat " " attributes)))