diff --git a/htdocs/core/class/html.formmail.class.php b/htdocs/core/class/html.formmail.class.php
index ddffc9f2bcd..4356bfd932e 100644
--- a/htdocs/core/class/html.formmail.class.php
+++ b/htdocs/core/class/html.formmail.class.php
@@ -775,7 +775,7 @@ class FormMail extends Form
} elseif ($this->withmaindocfile == -1) {
$out .= '';
}
- $out .= '
';
+ $out .= '
';
}
if (is_numeric($this->withfile)) {