From d383174aee2e56fb13812cdc18ac6f66c46055aa Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Wed, 3 Aug 2016 15:07:01 -0400 Subject: [PATCH] Blog dashlet improvements --- CRM/Dashlet/Page/Blog.php | 7 ++++++- css/dashboard.css | 2 +- templates/CRM/Dashlet/Page/Blog.tpl | 31 ++++++++++++++++++++++++----- 3 files changed, 33 insertions(+), 7 deletions(-) diff --git a/CRM/Dashlet/Page/Blog.php b/CRM/Dashlet/Page/Blog.php index 31462f81f1..acc144ba9e 100644 --- a/CRM/Dashlet/Page/Blog.php +++ b/CRM/Dashlet/Page/Blog.php @@ -117,7 +117,12 @@ class CRM_Dashlet_Page_Blog extends CRM_Core_Page { $item = (array) $item; // Clean up description - remove tags that would break dashboard layout $description = preg_replace('#]*>(.+?)]*>#s', '

$1

', $item['description']); - $item['description'] = strip_tags($description, "