fix: error text is escaped

This commit is contained in:
Lewis Wynne 2026-04-10 15:34:32 +01:00
parent a1ddbba660
commit a33be3be6c

View file

@ -216,6 +216,7 @@ pub fn render_error_page(config: &Config, error: &str) -> String {
} else { } else {
&config.style &config.style
}; };
let error = escape_html(error);
format!( format!(
r#"<!DOCTYPE html> r#"<!DOCTYPE html>
<html lang="en"> <html lang="en">