removed spaces and br function from html class.
This commit is contained in:
parent
c3f418b13c
commit
a4ca806081
|
@ -149,28 +149,6 @@ public static function image($url, $alt = '', $attributes = array())
|
||||||
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(' ', $count);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Generate an ordered list.
|
* Generate an ordered list.
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in New Issue