From: Christian Weiske Date: Fri, 31 Mar 2017 22:33:51 +0000 (+0200) Subject: Fix JSON HTML content sending, according to new tests X-Git-Tag: v0.4.0~1 X-Git-Url: https://git.cweiske.de/shpub.git/commitdiff_plain/b2351eea120bb8f6293aae113e77a3e3edd46687?ds=sidebyside Fix JSON HTML content sending, according to new tests --- 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);