diff options
| author | Frederic Guillot <fred@kanboard.net> | 2015-09-12 18:19:09 -0400 |
|---|---|---|
| committer | Frederic Guillot <fred@kanboard.net> | 2015-09-12 18:19:09 -0400 |
| commit | cf46cf44041939d18260fafd0ac3a4bcfb85bc9f (patch) | |
| tree | bf92bfdc9e3bcda049388d1724d0919f0a2e0154 /app/Integration/Sendgrid.php | |
| parent | 0e4e566aa434ea1adaa9e94259877df110fc21f6 (diff) | |
Update dependencies
Diffstat (limited to 'app/Integration/Sendgrid.php')
| -rw-r--r-- | app/Integration/Sendgrid.php | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/app/Integration/Sendgrid.php b/app/Integration/Sendgrid.php index 902749f6..fd58342a 100644 --- a/app/Integration/Sendgrid.php +++ b/app/Integration/Sendgrid.php @@ -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']; |
