|
@@ -52,7 +52,8 @@ void OutOfProcessWebView::handle_web_content_process_crash()
|
|
|
builder.appendff(" on {}", escape_html_entities(m_url.host()));
|
|
|
}
|
|
|
builder.append("</h1>");
|
|
|
- builder.appendff("The web page <a href=\"{}\">{}</a> has crashed.<br><br>You can reload the page to try again.", escape_html_entities(m_url.to_string_encoded()), escape_html_entities(m_url.to_string()));
|
|
|
+ auto escaped_url = escape_html_entities(m_url.to_string());
|
|
|
+ builder.appendff("The web page <a href=\"{}\">{}</a> has crashed.<br><br>You can reload the page to try again.", escaped_url, escaped_url);
|
|
|
builder.append("</body></html>");
|
|
|
load_html(builder.to_string(), m_url);
|
|
|
}
|