Skip to content
Snippets Groups Projects
Commit ba9c057b authored by Andreas Gohr's avatar Andreas Gohr
Browse files

use real HRs in HTML mails

parent 9f3eca0b
No related branches found
No related tags found
No related merge requests found
......@@ -171,8 +171,10 @@ class Mailer {
// create HTML from text if not given
if(is_null($html)){
$html = hsc($text);
$html = nl2br($text);
$html = $text;
$html = hsc($html);
$html = preg_replace('/^-----*$/m','<hr >',$html);
$html = nl2br($html);
}
if($wrap){
$wrap = rawLocale('mailwrap','html');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment