Update dependencies
This commit is contained in:
@@ -2,7 +2,6 @@
|
||||
|
||||
namespace Integration;
|
||||
|
||||
use HTML_To_Markdown;
|
||||
use Core\Tool;
|
||||
|
||||
/**
|
||||
@@ -79,8 +78,7 @@ class Sendgrid extends \Core\Base
|
||||
|
||||
// Get the Markdown contents
|
||||
if (! empty($payload['html'])) {
|
||||
$markdown = new HTML_To_Markdown($payload['html'], array('strip_tags' => true));
|
||||
$description = $markdown->output();
|
||||
$description = $this->htmlConverter->convert($payload['html']);
|
||||
}
|
||||
else if (! empty($payload['text'])) {
|
||||
$description = $payload['text'];
|
||||
|
||||
Reference in New Issue
Block a user