diff --git a/amber/amber.php b/amber/amber.php index a15542e..669d10f 100644 --- a/amber/amber.php +++ b/amber/amber.php @@ -325,7 +325,7 @@ private static function cache_links($links, $immediately = false) { */ private static function filter_excluded_links($links) { - $blacklist = explode(",",Amber::get_option("amber_excluded_sites","")); + $blacklist = preg_split("/[,\s]+/",Amber::get_option("amber_excluded_sites","")); if (!$blacklist) { return $links; }