mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-20 11:36:10 +00:00
LibWeb: Fix variable name for gemini documents
This commit is contained in:
parent
f005548d56
commit
c8322719c6
Notes:
sideshowbarker
2024-07-19 02:00:40 +09:00
Author: https://github.com/nico Commit: https://github.com/SerenityOS/serenity/commit/c8322719c69 Pull-request: https://github.com/SerenityOS/serenity/pull/3701
1 changed files with 2 additions and 2 deletions
|
@ -115,9 +115,9 @@ static RefPtr<DOM::Document> create_image_document(const ByteBuffer& data, const
|
|||
|
||||
static RefPtr<DOM::Document> create_gemini_document(const ByteBuffer& data, const URL& url)
|
||||
{
|
||||
auto markdown_document = Gemini::Document::parse({ (const char*)data.data(), data.size() }, url);
|
||||
auto gemini_document = Gemini::Document::parse({ (const char*)data.data(), data.size() }, url);
|
||||
|
||||
return HTML::parse_html_document(markdown_document->render_to_html(), url, "utf-8");
|
||||
return HTML::parse_html_document(gemini_document->render_to_html(), url, "utf-8");
|
||||
}
|
||||
|
||||
RefPtr<DOM::Document> FrameLoader::create_document_from_mime_type(const ByteBuffer& data, const URL& url, const String& mime_type, const String& encoding)
|
||||
|
|
Loading…
Add table
Reference in a new issue