From 50333a2866ccfcc5359fb4ca36ffa23729e38fa0 Mon Sep 17 00:00:00 2001 From: dogmatic69 Date: Thu, 13 Sep 2012 06:30:15 +0100 Subject: [PATCH] adjusting the way the regex is done so its easier to read --- lib/Cake/Utility/Sanitize.php | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/lib/Cake/Utility/Sanitize.php b/lib/Cake/Utility/Sanitize.php index 26db0d558..a7e92977d 100644 --- a/lib/Cake/Utility/Sanitize.php +++ b/lib/Cake/Utility/Sanitize.php @@ -150,10 +150,15 @@ class Sanitize { * Strips scripts and stylesheets from output * * @param string $str String to sanitize - * @return string String with