From 1cf0979a831cdc7200e38de7b87f18149d6f51bb Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Fri, 8 Mar 2024 19:33:18 -0400 Subject: content, css, replacer: in content --- src/util/replacer.js | 1 + 1 file changed, 1 insertion(+) (limited to 'src/util') diff --git a/src/util/replacer.js b/src/util/replacer.js index f692b068..9779f84e 100644 --- a/src/util/replacer.js +++ b/src/util/replacer.js @@ -510,6 +510,7 @@ export function postprocessImages(inputNodes) { if (attributes.get('style')) imageNode.style = attributes.get('style'); if (attributes.get('width')) imageNode.width = parseInt(attributes.get('width')); if (attributes.get('height')) imageNode.height = parseInt(attributes.get('height')); + if (attributes.get('align')) imageNode.align = attributes.get('align'); if (attributes.get('pixelate')) imageNode.pixelate = true; if (attributes.get('warning')) { -- cgit 1.3.0-6-gf8a5