removed spaces and br function from html class.
This commit is contained in:
@@ -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(' ', $count);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Generate an ordered list.
|
* Generate an ordered list.
|
||||||
*
|
*
|
||||||
|
|||||||
Reference in New Issue
Block a user