summaryrefslogtreecommitdiff
path: root/app/helpers.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/helpers.php')
-rw-r--r--app/helpers.php4
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("&lt;i&gt;", "<i>", $string);
+ $string = str_replace("&lt;I&gt;", "<i>", $string);
$string = str_replace("&lt;/i&gt;", "</i>", $string);
+ $string = str_replace("&lt;/I&gt;", "</i>", $string);
$string = str_replace("&lt;b&gt;", "<b>", $string);
$string = str_replace("&lt;/b&gt;", "</b>", $string);
$string = str_replace("&lt;br&gt;", "<br>", $string);
+ $string = str_replace("&lt;BR&gt;", "<br>", $string);
$string = str_replace("%%br%%", "<br>", $string);
+ $string = str_replace("%%BR%%", "<br>", $string);
return $string;
}