Browse Source

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

Thanks to Chuck Berry for reporting it.
Bastien Guerry 5 years ago
parent
commit
c857077351
1 changed files with 1 additions and 1 deletions
  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)))