From 67b66856f5dbdbac87759ea620d24d274ca31c1a Mon Sep 17 00:00:00 2001 From: Amine Ben hammou Date: Fri, 1 Jun 2018 11:21:59 +0000 Subject: [PATCH] removing images and headings from the excerpt --- lib/Newsletter/Editor/PostContentManager.php | 4 ++-- .../Editor/PostContentManagerTest.php | 17 ++++++++--------- 2 files changed, 10 insertions(+), 11 deletions(-) diff --git a/lib/Newsletter/Editor/PostContentManager.php b/lib/Newsletter/Editor/PostContentManager.php index aadec9e7bb..1c5f959f25 100644 --- a/lib/Newsletter/Editor/PostContentManager.php +++ b/lib/Newsletter/Editor/PostContentManager.php @@ -45,8 +45,8 @@ class PostContentManager { // strip useless tags $tags_not_being_stripped = array( - '', '

', '', '', '', '', '', '

', - '

', '

', '', '