implement TextFormatter class to include media in texts
This commit is contained in:
parent
3fb0b9d074
commit
f723382b93
9 changed files with 137 additions and 7 deletions
|
|
@ -28,7 +28,7 @@
|
|||
* @param string $string String to be masked
|
||||
* @return string Masked string
|
||||
*/
|
||||
static function t($string)
|
||||
public static function t($string)
|
||||
{
|
||||
return nl2br(htmlspecialchars($string));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue