From: Bastien Guerry Date: Thu, 31 Jan 2013 09:25:03 +0000 (+0100) Subject: org-html.el (org-html-handle-links): Fix bug in setting the attribute for link with... X-Git-Tag: 7.9.3e~4 X-Git-Url: https://repo.or.cz/w/org-mode.git/commitdiff_plain/55f4f921835bbf5d7b8e9dd82fe8dcfef2fac4e2 org-html.el (org-html-handle-links): Fix bug in setting the attribute for link with images * org-html.el (org-html-handle-links): When the link description is an image and the attribute is "width", pass the attribute to the tag. Thanks to John Hendy for reporting this. --- diff --git a/lisp/org-html.el b/lisp/org-html.el index 493d8a28a..8cada8fcd 100644 --- a/lisp/org-html.el +++ b/lisp/org-html.el @@ -1030,7 +1030,10 @@ OPT-PLIST is the export options list." (if (string-match "^file:" desc) (setq desc (substring desc (match-end 0))))) (setq desc (org-add-props - (concat "\""") '(org-protected t)))) (cond