mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 03:40:37 +02:00
Fix for toEmail() method encoding of quotes.
This commit is contained in:
@@ -1054,6 +1054,8 @@ class e107Email extends PHPMailer
|
||||
public function MsgHTML($message, $basedir = '')
|
||||
{
|
||||
$tp = e107::getParser();
|
||||
|
||||
$message = $tp->toEmail($message, false, 'rawtext');
|
||||
|
||||
preg_match_all("/(src|background)=([\"\'])(.*)\\2/Ui", $message, $images); // Modified to accept single quotes as well
|
||||
if(isset($images[3]) && ($this->previewMode === false))
|
||||
|
Reference in New Issue
Block a user