fix: error text is escaped
This commit is contained in:
parent
a1ddbba660
commit
a33be3be6c
1 changed files with 1 additions and 0 deletions
|
|
@ -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">
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue