diff options
Diffstat (limited to 'src/util')
-rw-r--r-- | src/util/replacer.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/util/replacer.js b/src/util/replacer.js index 00dfb800..8e6cac7b 100644 --- a/src/util/replacer.js +++ b/src/util/replacer.js @@ -495,6 +495,7 @@ export function postprocessImages(inputNodes) { if (attributes.get('link')) imageNode.link = attributes.get('link'); if (attributes.get('style')) imageNode.style = attributes.get('style'); + if (attributes.get('warning')) imageNode.warning = attributes.get('warning'); if (attributes.get('width')) imageNode.width = parseInt(attributes.get('width')); if (attributes.get('height')) imageNode.height = parseInt(attributes.get('height')); if (attributes.get('pixelate')) imageNode.pixelate = true; |