From 50498af7355bd8b7801ec94cc208cef1ea681627 Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Thu, 9 Jul 2020 19:36:22 +0530 Subject: Remove file:// scheme from data attribute. SVG images displayed using the object element specify the URI in the data attribute. * ennu-html.el (ennu-html-link): Remove file:// scheme from data attribute as well, not just the src attribute. --- ennu-html.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ennu-html.el b/ennu-html.el index 4378d2a..1f76f23 100644 --- a/ennu-html.el +++ b/ennu-html.el @@ -282,7 +282,7 @@ path (ennu-setting :image-link-width)) (ennu-setting :images-directory)) (replace-regexp-in-string - "src=\"file://" "src=\"" + (rx (group (or "src" "data")) "=\"file://") "\\1=\"" (org-html-link (org-element-put-property (org-element-put-property -- cgit v1.2.3