Merge pull request #11419 from octo-happiness/CRM-21538
[civicrm-core.git] / CRM / Mailing / BAO / Mailing.php
index 0bd1fa660e190723f840bfbb9614caedac212f65..fab0bcb82de38ab49141c857898830fdad0236f4 100644 (file)
@@ -796,7 +796,7 @@ ORDER BY   {$orderBy}
       }
 
       // To check for an html part strip tags
-      if (trim(strip_tags($this->body_html))) {
+      if (trim(strip_tags($this->body_html, '<img>'))) {
 
         $template = array();
         if ($this->header) {