From d41e6cad091021bde73620e1f3388e9f63823ce0 Mon Sep 17 00:00:00 2001 From: SINF-KEN Date: Wed, 26 Mar 2025 22:46:48 +0100 Subject: [PATCH] UI: Fix new error page --- Libraries/LibWebView/ViewImplementation.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Libraries/LibWebView/ViewImplementation.cpp b/Libraries/LibWebView/ViewImplementation.cpp index 16095430fde..98edefc2e51 100644 --- a/Libraries/LibWebView/ViewImplementation.cpp +++ b/Libraries/LibWebView/ViewImplementation.cpp @@ -648,11 +648,12 @@ void ViewImplementation::handle_web_content_process_crash(LoadErrorPage load_err "p { font-size: 1rem; color: #555; }" ""sv); builder.append("
"sv); - builder.append(""sv); + builder.append(""sv); builder.append(""sv); builder.append(""sv); auto escaped_url = escape_html_entities(m_url.to_byte_string()); - builder.appendff("The web page {} has crashed.

You can reload the page to try again.", escaped_url, escaped_url); + builder.append("

Ladybird flew off-course!

"sv); + builder.appendff("

The web page {} has crashed.

You can reload the page to try again.

", escaped_url, escaped_url); builder.append(""sv); load_html(builder.to_byte_string()); }