send_job_status_mail: corectly escape html characters
This commit is contained in:
parent
d6373f3525
commit
385cf2bd9d
|
@ -96,7 +96,7 @@ fn send_job_status_mail(
|
|||
|
||||
// Note: OX has serious problems displaying text mails,
|
||||
// so we include html as well
|
||||
let html = format!("<html><body><pre>\n{}\n<pre>", text);
|
||||
let html = format!("<html><body><pre>\n{}\n<pre>", handlebars::html_escape(text));
|
||||
|
||||
let nodename = proxmox::tools::nodename();
|
||||
|
||||
|
|
Loading…
Reference in New Issue