瀏覽代碼

props flood fixes

Ivan Asmer 4 年之前
父節點
當前提交
95c5ee0221
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      index.mjs

+ 1 - 1
index.mjs

@@ -335,7 +335,7 @@ const syntax = {
     heading1: {
         paired: true,
         recursive: true,
-        startRegexp: /\n#[ \t]*([^\[]*)(\[#(\S*)[ \t]*(.*)\])?\n/,
+        startRegexp: /\n#[ \t]*([^\[]*)(\[#(\S*)[ \t]*(.*)\])?\n/gm,
         endRegexp: /\n#\s/,
         content: {
             start: {