1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 15:57:35 +00:00

LibMarkdown: Render slugified anchor tag in heading

Because slugify function accepts AK::String, which can hold unicode
code_points as well, heading text is normalised to ensure with NFD
form to ensure same binary respresentation of a particular string.
This commit is contained in:
Gurkirat Singh 2023-09-28 00:28:32 +05:30 committed by Sam Atkins
parent f1b79e0cd3
commit da8a3f9ff2
2 changed files with 6 additions and 2 deletions

View file

@ -15,4 +15,4 @@ set(SOURCES
)
serenity_lib(LibMarkdown markdown)
target_link_libraries(LibMarkdown PRIVATE LibJS LibRegex LibSyntax)
target_link_libraries(LibMarkdown PRIVATE LibUnicode LibJS LibRegex LibSyntax)