From cf46cf44041939d18260fafd0ac3a4bcfb85bc9f Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sat, 12 Sep 2015 18:19:09 -0400 Subject: Update dependencies --- app/Integration/Postmark.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'app/Integration/Postmark.php') diff --git a/app/Integration/Postmark.php b/app/Integration/Postmark.php index dbb70aee..05bdf58b 100644 --- a/app/Integration/Postmark.php +++ b/app/Integration/Postmark.php @@ -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']; -- cgit v1.2.3