From: Anthony Talarico Date: Mon, 23 Nov 2015 20:54:36 +0000 (-0500) Subject: regex removed X-Git-Tag: v1.0.0^2~272^2~3 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=c24dfafa159680b7f54f92bdc7927847c94b1e56;p=WP-Themes%2Fstaffords.git regex removed --- diff --git a/search.php b/search.php index c25c697..8aac996 100644 --- a/search.php +++ b/search.php @@ -74,11 +74,11 @@ // Highlight matches $context = nl2br(preg_replace('/'.str_replace('/', '\/', join('|', $terms)).'/i', '$0', $output)); - $noExtraSpace = preg_replace('!\s+!', ' ', $context); + ?>

- +