send_job_status_mail: corectly escape html characters

This commit is contained in:
Dietmar Maurer 2020-10-29 11:22:08 +01:00
parent d6373f3525
commit 385cf2bd9d
1 changed files with 1 additions and 1 deletions

View File

@ -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();