diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2024-03-10 12:53:17 -0300 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2024-03-10 12:53:17 -0300 |
commit | a26a913841bba73f44182bb5e1725f91573395a9 (patch) | |
tree | c09d9d89c9e0461f8d3f978583dece6b322ab704 /src | |
parent | f53cb64d4380cc37d9a0908b52693fb6c9cf499f (diff) |
replacer: actually set atStartOfLine = false past start of line
Diffstat (limited to 'src')
-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 = (() => { |