From cd35aa4215bec35ee5aee112288e2562b2d7237d Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Sun, 30 Jul 2023 21:55:05 -0300 Subject: content: image, transformContent: support custom img links --- src/util/replacer.js | 1 + 1 file changed, 1 insertion(+) (limited to 'src/util/replacer.js') diff --git a/src/util/replacer.js b/src/util/replacer.js index 7240940d..caf16bbf 100644 --- a/src/util/replacer.js +++ b/src/util/replacer.js @@ -392,6 +392,7 @@ export function postprocessImages(inputNodes) { return false; })(); + if (attributes.link) imageNode.link = attributes.link; if (attributes.width) imageNode.width = parseInt(attributes.width); if (attributes.height) imageNode.height = parseInt(attributes.height); -- cgit 1.3.0-6-gf8a5