mirror of
https://github.com/RGBCube/serenity
synced 2025-05-21 15:35:07 +00:00
LibWeb: Fix variable name for gemini documents
This commit is contained in:
parent
f005548d56
commit
c8322719c6
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
Add a link
Reference in a new issue