« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/util
diff options
context:
space:
mode:
Diffstat (limited to 'src/util')
-rw-r--r--src/util/replacer.js1
1 files changed, 1 insertions, 0 deletions
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);