diff options
Diffstat (limited to 'Libraries/LibWeb/PageView.cpp')
-rw-r--r-- | Libraries/LibWeb/PageView.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Libraries/LibWeb/PageView.cpp b/Libraries/LibWeb/PageView.cpp index d0d3833f58..00c36afe5d 100644 --- a/Libraries/LibWeb/PageView.cpp +++ b/Libraries/LibWeb/PageView.cpp @@ -388,7 +388,7 @@ static RefPtr<Document> create_image_document(const ByteBuffer& data, const URL& html_element->append_child(body_element); auto image_element = create_element(document, "img"); - image_element->set_attribute("src", url.to_string()); + image_element->set_attribute(HTML::AttributeNames::src, url.to_string()); body_element->append_child(image_element); return document; |