Update dependencies

This commit is contained in:
Frederic Guillot
2015-09-12 18:19:09 -04:00
parent 0e4e566aa4
commit cf46cf4404
6 changed files with 76 additions and 67 deletions

View File

@@ -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'];