mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-07-15 20:46:27 +00:00
* org-html.el (org-html-handle-links): add an alternate for inline images
This commit is contained in:
parent
89de03cb8e
commit
2f50b1380b
|
@ -888,7 +888,8 @@ 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 "<img src=\"" desc "\"/>")
|
||||
(concat "<img src=\"" desc "\" alt=\""
|
||||
(file-name-nondirectory desc) "\"/>")
|
||||
'(org-protected t))))
|
||||
(cond
|
||||
((equal type "internal")
|
||||
|
|
Loading…
Reference in a new issue