Parcourir la source

props flood fixes

Ivan Asmer il y a 4 ans
Parent
commit
95c5ee0221
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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: {