소스 검색

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)))