From b2351eea120bb8f6293aae113e77a3e3edd46687 Mon Sep 17 00:00:00 2001 From: Christian Weiske Date: Sat, 1 Apr 2017 00:33:51 +0200 Subject: [PATCH] Fix JSON HTML content sending, according to new tests --- src/shpub/Request.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shpub/Request.php b/src/shpub/Request.php index 3614d5d..3d7221d 100644 --- a/src/shpub/Request.php +++ b/src/shpub/Request.php @@ -225,7 +225,7 @@ class Request { if ($isHtml) { $this->addProperty( - 'content', ['html' => $text] + 'content', [['html' => $text]] ); } else { $this->addProperty('content', $text); -- 2.30.2