mirror of https://github.com/yjwen/org-reveal.git
Fixed #213. Do not embed online images.
This commit is contained in:
parent
e1d0dd773a
commit
6ee0e547dd
|
@ -838,6 +838,7 @@ CONTENTS is nil. INFO is a plist holding contextual information."
|
||||||
the result is the Data URIs of the referenced image."
|
the result is the Data URIs of the referenced image."
|
||||||
(let* ((want-embed-image (and (plist-get info :reveal-single-file)
|
(let* ((want-embed-image (and (plist-get info :reveal-single-file)
|
||||||
(plist-get info :html-inline-images)
|
(plist-get info :html-inline-images)
|
||||||
|
(string= "file" (org-element-property :type link))
|
||||||
(org-export-inline-image-p
|
(org-export-inline-image-p
|
||||||
link (plist-get info :html-inline-image-rules))))
|
link (plist-get info :html-inline-image-rules))))
|
||||||
(raw-path (org-element-property :path link))
|
(raw-path (org-element-property :path link))
|
||||||
|
|
Loading…
Reference in New Issue