@@ -49,10 +49,10 @@ |
||
| 49 | 49 | */ |
| 50 | 50 | public function html($string): string |
| 51 | 51 | { |
| 52 | - if(!$string) { |
|
| 52 | + if (!$string) { |
|
| 53 | 53 | return ''; |
| 54 | 54 | } |
| 55 | - $string = str_replace("\n", '<br>', $string); |
|
| 55 | + $string = str_replace("\n", '<br>', $string); |
|
| 56 | 56 | return str_replace("\0", '�', htmlspecialchars($string, ENT_QUOTES, 'utf-8')); |
| 57 | 57 | } |
| 58 | 58 | |