« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/replacer.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/replacer.js')
-rw-r--r--src/replacer.js2
1 files changed, 2 insertions, 0 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;
         }