added nbsp() to generate repeated   tag
This commit is contained in:
1 parent
9f534cb45b
commit
eb132aed5c
1 file changed
+12
@@ -277,6 +277,18 @@ class HtmlBuilder
|
||||
return str_replace('@', '@', $this->obfuscate($email));
|
||||
}
|
||||
|
||||
/**
|
||||
* Generates non-breaking space entities based on number supplied.
|
||||
*
|
||||
* @param int $num
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function nbsp($num = 1)
|
||||
{
|
||||
return str_repeat(' ', $num);
|
||||
}
|
||||
|
||||
/**
|
||||
* Generate an ordered list of items.
|
||||
*
|
||||
|
||||
Reference in new issue
Block a user