From 8df52df8946c255ee05f8fb046cd216eeb3ab6a8 Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Tue, 1 Nov 2011 20:50:35 -0500 Subject: [PATCH] shorten really long statement. --- laravel/html.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/laravel/html.php b/laravel/html.php index 9a78ba23..736a760a 100644 --- a/laravel/html.php +++ b/laravel/html.php @@ -66,7 +66,9 @@ public static function style($url, $attributes = array()) } } - return ''.PHP_EOL; + $url = static::entities(URL::to_asset($url)); + + return ''.PHP_EOL; } /**