summaryrefslogtreecommitdiff
path: root/app/Libraries/Background.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Libraries/Background.php')
-rw-r--r--app/Libraries/Background.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/Libraries/Background.php b/app/Libraries/Background.php
index e89e00c..5ec6ef6 100644
--- a/app/Libraries/Background.php
+++ b/app/Libraries/Background.php
@@ -231,6 +231,9 @@ class Background {
if ( ! is_null( $enhancement->duration ) ) {
$update["duration"] = $enhancement->duration;
}
+ if ( isset( $update["synopsis"] ) ) {
+ $update["synopsis"] = str_replace('<i/>', '</i>', $update["synopsis"]);
+ }
#echo "Updating " . $anime->title_pref . " (" . $anime->mal_id . ")\n";
DB::table('anime')