diff options
Diffstat (limited to 'app/helpers.php')
| -rw-r--r-- | app/helpers.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/helpers.php b/app/helpers.php index c96b972..c2c6b16 100644 --- a/app/helpers.php +++ b/app/helpers.php @@ -3,11 +3,15 @@ use Carbon\Carbon; function replaceSpecialChars($string) { $string = str_replace("<i>", "<i>", $string); + $string = str_replace("<I>", "<i>", $string); $string = str_replace("</i>", "</i>", $string); + $string = str_replace("</I>", "</i>", $string); $string = str_replace("<b>", "<b>", $string); $string = str_replace("</b>", "</b>", $string); $string = str_replace("<br>", "<br>", $string); + $string = str_replace("<BR>", "<br>", $string); $string = str_replace("%%br%%", "<br>", $string); + $string = str_replace("%%BR%%", "<br>", $string); return $string; } |
