소스 검색

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: {