From a2cb34aa3707a5542e0b505e6ae963d9cc54d668 Mon Sep 17 00:00:00 2001 From: horus Date: Sun, 3 Jan 2021 16:24:43 +0100 Subject: Add annoying malformed HTML. --- app/Libraries/Background.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'app/Libraries') 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('', '', $update["synopsis"]); + } #echo "Updating " . $anime->title_pref . " (" . $anime->mal_id . ")\n"; DB::table('anime') -- cgit v1.2.3