summaryrefslogtreecommitdiff
path: root/app/Integration/Postmark.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-09-12 18:19:09 -0400
committerFrederic Guillot <fred@kanboard.net>2015-09-12 18:19:09 -0400
commitcf46cf44041939d18260fafd0ac3a4bcfb85bc9f (patch)
treebf92bfdc9e3bcda049388d1724d0919f0a2e0154 /app/Integration/Postmark.php
parent0e4e566aa434ea1adaa9e94259877df110fc21f6 (diff)
Update dependencies
Diffstat (limited to 'app/Integration/Postmark.php')
-rw-r--r--app/Integration/Postmark.php5
1 files changed, 1 insertions, 4 deletions
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'];