From 74e73666e5f79fe5862bc9cd2c8d244004c381b4 Mon Sep 17 00:00:00 2001 From: horus Date: Tue, 24 Mar 2020 17:18:39 +0100 Subject: Integrate chart.js to display anime stats. --- app/helpers.php | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 app/helpers.php (limited to 'app/helpers.php') diff --git a/app/helpers.php b/app/helpers.php new file mode 100644 index 0000000..bac4f0e --- /dev/null +++ b/app/helpers.php @@ -0,0 +1,12 @@ +", $string); + $string = str_replace("</i>", "", $string); + $string = str_replace("<b>", "", $string); + $string = str_replace("</b>", "", $string); + $string = str_replace("<br>", "
", $string); + $string = str_replace("%%br%%", "
", $string); + + return $string; +} -- cgit v1.2.3