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

Thanks to Chuck Berry for reporting it.
This commit is contained in:
Bastien Guerry 2013-02-07 09:59:08 +01:00
parent b6eceef02a
commit c857077351
1 changed files with 1 additions and 1 deletions

View File

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