removed spaces and br function from html class.

This commit is contained in:
Taylor Otwell
2011-07-03 15:34:31 -05:00
parent c3f418b13c
commit a4ca806081

View File

@@ -149,28 +149,6 @@ class HTML {
return '<img src="'.static::entities(URL::to_asset($url)).'"'.static::attributes($attributes).'>'; return '<img src="'.static::entities(URL::to_asset($url)).'"'.static::attributes($attributes).'>';
} }
/**
* Generate HTML breaks.
*
* @param int $count
* @return string
*/
public static function breaks($count = 1)
{
return str_repeat('<br>', $count);
}
/**
* Generate non-breaking spaces.
*
* @param int $count
* @return string
*/
public static function spaces($count = 1)
{
return str_repeat('&nbsp;', $count);
}
/** /**
* Generate an ordered list. * Generate an ordered list.
* *