diff options
Diffstat (limited to 'src/content')
-rw-r--r-- | src/content/dependencies/transformContent.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/content/dependencies/transformContent.js b/src/content/dependencies/transformContent.js index 151c2c2e..52fe0024 100644 --- a/src/content/dependencies/transformContent.js +++ b/src/content/dependencies/transformContent.js @@ -370,7 +370,9 @@ export default { inline: true, data: html.tag('img', - {src, width, height}, + src && {src}, + width && {width}, + height && {height}, pixelate && {class: 'pixelate'}), |