Explorar el Código

props flood fixes

Ivan Asmer hace 4 años
padre
commit
95c5ee0221
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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: {