Browse Source

props flood fixes

Ivan Asmer 4 năm trước cách đây
mục cha
commit
95c5ee0221
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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: {