From 68b236ae77c8f029bff26bda8dafa0fce4c86be4 Mon Sep 17 00:00:00 2001 From: SJ Date: Thu, 4 Sep 2014 14:58:06 +0200 Subject: [PATCH] better stripping styles from html chunks --- webui/model/search/message.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webui/model/search/message.php b/webui/model/search/message.php index 5858bfde..3abd4f05 100644 --- a/webui/model/search/message.php +++ b/webui/model/search/message.php @@ -562,7 +562,7 @@ class ModelSearchMessage extends Model { } if($text_html == 1){ - $chunk = preg_replace("/\([\w\W]+)\<\/style\>/i", "", $chunk); + $chunk = preg_replace("/\([\w\W]+)\<\/style\>/i", "", $chunk); if(ENABLE_REMOTE_IMAGES == 0) { $chunk = preg_replace("/style([\s]{0,}=[\s]{0,})\"([^\"]+)/", "style=\"xxxx", $chunk);