summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Guerry <bzg@altern.org>2013-02-07 09:59:08 +0100
committerBastien Guerry <bzg@altern.org>2013-02-07 09:59:08 +0100
commitc857077351520667c14f61491d8476ad133f74de (patch)
tree75d5b9562e7cd2e6de2897d7c5498ab9f3bb2bf6
parentb6eceef02a24787a2aa7b70492796caf296ae4d1 (diff)
downloadorg-mode-c857077351520667c14f61491d8476ad133f74de.tar.gz
ox-html.el (org-html-link): Fix bug.
Thanks to Chuck Berry for reporting it.
-rw-r--r--lisp/ox-html.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/ox-html.el b/lisp/ox-html.el
index 9c457e0..f4fc27b 100644
--- a/lisp/ox-html.el
+++ b/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)))