diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/replacer.js | 2 | ||||
| -rw-r--r-- | src/static/css/features.css | 6 |
2 files changed, 5 insertions, 3 deletions
diff --git a/src/replacer.js b/src/replacer.js index 4e29f927..e5e7cfa9 100644 --- a/src/replacer.js +++ b/src/replacer.js @@ -623,6 +623,8 @@ function postprocessHTMLTags(inputNodes, tagName, callback) { if (previousText.endsWith('\n')) { atStartOfLine = true; + } else if (previousText.match(/^(> )+/m)) { + atStartOfLine = true; } else if (previousText.length) { atStartOfLine = false; } diff --git a/src/static/css/features.css b/src/static/css/features.css index 126ca875..89d58d8e 100644 --- a/src/static/css/features.css +++ b/src/static/css/features.css @@ -1472,9 +1472,9 @@ width: 100%; } - .content-image-container:last-child, - .content-video-container:last-child, - .content-audio-container:last-child { + .content-image-container:last-child:not(blockquote > *) + .content-video-container:last-child:not(blockquote > *), + .content-audio-container:last-child:not(blockquote > *) { margin-bottom: 1.15em; } |