diff --git a/app/Services/FeshunService.php b/app/Services/FeshunService.php index ded41d7..31ccdc6 100644 --- a/app/Services/FeshunService.php +++ b/app/Services/FeshunService.php @@ -23,7 +23,7 @@ class FeshunService extends Client 'title' => $article["title"]["rendered"], 'og_title' => $article["title"]["rendered"], 'image' => Http::get("https://feshun.mv/wp-json/wp/v2/media?include=".$article["featured_media"])->json()[0]["guid"]["rendered"], - 'content' => explode("
",$article["content"]["rendered"]), + 'content' => explode("
",str_replace("
","",$article["content"]["rendered"])), 'date' => Carbon::parse($article["date"])->format("Y-m-d H:i:s"), 'url' => $article["link"], 'author' => Http::get("https://feshun.mv/wp-json/wp/v2/users?include=".$article["author"])->json()[0]["name"],