diff options
Diffstat (limited to 'src/util')
-rw-r--r-- | src/util/replacer.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/util/replacer.js b/src/util/replacer.js index 9779f84e..0a3117ed 100644 --- a/src/util/replacer.js +++ b/src/util/replacer.js @@ -470,6 +470,8 @@ export function postprocessImages(inputNodes) { if (previousText.endsWith('\n')) { atStartOfLine = true; + } else if (previousText.length) { + atStartOfLine = false; } imageNode.inline = (() => { |