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,8 +2,6 @@
namespace Integration;
use HTML_To_Markdown;
/**
* Postmark integration
*
@@ -76,8 +74,7 @@ class Postmark extends \Core\Base
// Get the Markdown contents
if (! empty($payload['HtmlBody'])) {
$markdown = new HTML_To_Markdown($payload['HtmlBody'], array('strip_tags' => true));
$description = $markdown->output();
$description = $this->htmlConverter->convert($payload['HtmlBody']);
}
else if (! empty($payload['TextBody'])) {
$description = $payload['TextBody'];