From 07be4fdbe4a64604e3a45d8109139c567e25b13b Mon Sep 17 00:00:00 2001 From: SJ Date: Tue, 30 Sep 2014 14:29:06 +0200 Subject: [PATCH] better style removal --- webui/model/search/message.php | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/webui/model/search/message.php b/webui/model/search/message.php index 3abd4f05..ba259041 100644 --- a/webui/model/search/message.php +++ b/webui/model/search/message.php @@ -562,7 +562,19 @@ class ModelSearchMessage extends Model { } if($text_html == 1){ - $chunk = preg_replace("/\([\w\W]+)\<\/style\>/i", "", $chunk); + + $h = preg_split("/\