From 55f4f921835bbf5d7b8e9dd82fe8dcfef2fac4e2 Mon Sep 17 00:00:00 2001 From: Bastien Guerry Date: Thu, 31 Jan 2013 10:25:03 +0100 Subject: [PATCH] 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. --- lisp/org-html.el | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 -- 2.11.4.GIT