Skip to content

Commit 5006e44

Browse files
committed
[#153] fix: 정규식 버그 수정
1 parent 5890778 commit 5006e44

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

frontend/src/utils/blockContent.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ import { jsx, css } from '@emotion/react';
55
import { Block, BlockType } from '@/schemes';
66

77
export const regexType: { [key: string]: RegExp } = {
8-
heading1: /^#/gm,
9-
heading2: /^##/gm,
108
heading3: /^###/gm,
9+
heading2: /^##/gm,
10+
heading1: /^#/gm,
1111
bulletedlist: /^[-,+]/gm,
1212
numberedlist: /^\d+\./gm,
1313
quote: /^\|/gm,

0 commit comments

Comments
 (0)