Explorar o código

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

Thanks to Chuck Berry for reporting it.
Bastien Guerry %!s(int64=12) %!d(string=hai) anos
pai
achega
c857077351
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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)))