diff options
| author | horus | 2020-09-19 20:45:30 +0200 |
|---|---|---|
| committer | horus | 2020-09-19 20:45:30 +0200 |
| commit | 32ee16621f45b39e5b2b93798d78d70791e5ab64 (patch) | |
| tree | e2c9793e9bd7a46ef8958be5d21e2d07b85c610d /app/helpers.php | |
| parent | cb55dd29e1721b5a1df0a5b9aca06171d7ae56c3 (diff) | |
| download | senpai-32ee16621f45b39e5b2b93798d78d70791e5ab64.tar.gz | |
bugfix
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; } |
