fix: link fragment with accents should be valid if the heading exists

Fixes a regression introduced in v2.3.0, which needed to lower case/manage case insensitive heading.
This commit is contained in:
theoludwig committed 2024-01-31 21:56:55 +01:00
1 parent f332c833ca
commit 5af131b840
4 files changed
+32 -21

No files matched your search

+1 -1
View File
@@ -26,7 +26,7 @@ const convertHeadingToHTMLFragment = (inlineText) => {
"",
)
.replace(/ /gu, "-"),
)
).toLowerCase()
)
}