Skip to content
Snippets Groups Projects
Commit 1c0017c0 authored by Prasad's avatar Prasad
Browse files

Fixes #894: Sanitized utf-8 non-breaking space

parent 30c88d9d
No related branches found
No related tags found
No related merge requests found
......@@ -108,6 +108,7 @@ class Vtiger_MailRecord {
if(!$this->_isbodyhtml) {
$bodyhtml = preg_replace( Array("/\r\n/", "/\n/"), Array('<br>','<br>'), $bodyhtml );
}
if ($bodyhtml) $bodyhtml = str_replace("\xc2\xa0",' ', $bodyhtml);
return $bodyhtml;
}
......
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