mirror of
https://github.com/SerenityOS/serenity
synced 2026-05-08 16:12:23 +02:00
A markdown file gets loaded as an inline content document by `create_document_for_inline_content()`, for which the default document URL is "about:error". That breaks the fragment links. Overriding "about:error" URL by passing the URL of the just loaded markdown file as an argument to `HTMLParser::run()` ensures that the URL of the document is as expected.
25 KiB
25 KiB