Skip to content

Commit a5807e5

Browse files
Merge pull request #470 from woensug-choi/support_korean_title
2 parents f60886a + 73954a2 commit a5807e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/notion-utils/src/normalize-title.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ export const normalizeTitle = (title?: string | null): string => {
22
return (title || '')
33
.replace(/ /g, '-')
44
.replace(
5-
/[^a-zA-Z0-9-\u4e00-\u9FFF\u3041-\u3096\u30A1-\u30FC\u3000-\u303F]/g,
5+
/[^a-zA-Z0-9-\u4e00-\u9fa5\uac00-\ud7af\u4e00-\u9fff\u3041-\u3096\u30a1-\u30fc\u3000-\u303f]/g,
66
''
77
)
88
.replace(/--/g, '-')

0 commit comments

Comments
 (0)