Skip to content
Snippets Groups Projects
Commit aa0cf226 authored by Jared Hancock's avatar Jared Hancock
Browse files

oops: Always strip embedded images unless

parent 7a554bf7
No related branches found
No related tags found
No related merge requests found
......@@ -1427,7 +1427,7 @@ class TextThreadBody extends ThreadBody {
}
class HtmlThreadBody extends ThreadBody {
function __construct($body, $options=array()) {
if ($options['strip-embedded'])
if (!isset($options['strip-embedded']) || $options['strip-embedded'])
$body = $this->extractEmbeddedHtmlImages($body);
parent::__construct($body, 'html', $options);
}
......
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