Two options:
a) use the space, like Ajeh mentioned. That's the simplest.
b) or use the following code change, which will be included in v1.6.0:
Code:
if ($email_text == '') {
$email_text = str_replace(array('<br>','<br />'), "<br />\n", $block['EMAIL_MESSAGE_HTML']);
$email_text = str_replace('</p>', "</p>\n", $email_text);
$email_text = ($module != 'xml_record') ? htmlspecialchars(stripslashes(strip_tags($email_text)), ENT_COMPAT, CHARSET, TRUE) : $email_text;
} else {
$email_text = ($module != 'xml_record') ? strip_tags($email_text) : $email_text;
}
becomes:
Code:
if ($email_text == '') {
$email_text = str_replace(array('<br>','<br />'), "<br />\n", $block['EMAIL_MESSAGE_HTML']);
$email_text = str_replace('</p>', "</p>\n", $email_text);
$email_text = ($module != 'xml_record') ? zen_output_string_protected(stripslashes(strip_tags($email_text))) : $email_text;
} else if ($module != 'xml_record') {
$email_text = preg_replace("/<([^[:alpha:]])/", '@lt@\\1', $email_text);
$email_text = strip_tags($email_text);
$email_text = str_replace('@lt@', '<', $email_text);
}
Bookmarks