We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d5ed66c commit f6d5697Copy full SHA for f6d5697
src/node/utils/parseHeader.ts
@@ -33,7 +33,7 @@ const removeMarkdownTokens = (str: string) =>
33
.replace(/(\\)(\*|_|`|\!|<|\$)/g, '$2') // remove escape char '\'
34
35
const removeCustomAnchor = (str: string) =>
36
- str.replace(/\{#([a-z0-9\-_]+?)\}\s*$/, '') // {#custom-header}
+ str.replace(/\{#([a-zA-Z0-9\-_]+?)\}\s*$/, '') // {#custom-header}
37
38
const trim = (str: string) => str.trim()
39
0 commit comments