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:
parent
f1b79e0cd3
commit
da8a3f9ff2
2 changed files with 6 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue