« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/replacer.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/replacer.js')
-rw-r--r--src/replacer.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/replacer.js b/src/replacer.js
index b7da7643..d285a7ea 100644
--- a/src/replacer.js
+++ b/src/replacer.js
@@ -654,6 +654,7 @@ export function postprocessVideos(inputNodes) {
 
       if (attributes.get('width')) node.width = parseInt(attributes.get('width'));
       if (attributes.get('height')) node.height = parseInt(attributes.get('height'));
+      if (attributes.get('align')) node.align = attributes.get('align');
       if (attributes.get('pixelate')) node.pixelate = true;
 
       return node;
@@ -667,6 +668,7 @@ export function postprocessAudios(inputNodes) {
 
       node.src = attributes.get('src');
       node.inline = attributes.get('inline') ?? inline;
+      if (attributes.get('align')) node.align = attributes.get('align');
 
       return node;
     });