mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-05 16:14:38 +00:00
(Apologies for bad commit title, it's hard to explain in such a short space!) We're going to need to call this for producing markdown and gemini documents, both of which need a Document and Realm to fetch the entire response body, so that they can then generate their HTML. So this commit modifies `create_document_for_inline_content()` to take a lambda instead of a fixed HTML string, to support these uses. Also, we always return a nonnull pointer, so make that the return type. This is a move and change in the same commit, (Sorry!) but all the changes are to the function signature and step 6.
100 KiB
100 KiB