« get me outta code hell

replacer, css: support wiki-style <audio> (etc) inside blockquote - 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:
author(quasar) nebula <qznebula@protonmail.com>2026-05-15 08:28:18 -0300
committer(quasar) nebula <qznebula@protonmail.com>2026-05-15 08:28:40 -0300
commit74d753afef12b7253915be72a7afee8faa67ffdb (patch)
tree88a938513347fe604f06db2901b19c7eb896405e /src/replacer.js
parentb68e658e27ae3c6e799342e69dfe3ee45cd53d7b (diff)
replacer, css: support wiki-style <audio> (etc) inside blockquote preview
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;
         }