From 22cf00142314e40fdfd4ac287fa653348a3d2f9c Mon Sep 17 00:00:00 2001 From: Mia <49593536+mia-pi-git@users.noreply.github.com> Date: Wed, 26 Feb 2025 21:03:48 +0000 Subject: [PATCH] Fix psicon replacement tag in news editor --- pokemonshowdown.com/news/manage.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pokemonshowdown.com/news/manage.php b/pokemonshowdown.com/news/manage.php index 8e11e0b22..7a37003c6 100644 --- a/pokemonshowdown.com/news/manage.php +++ b/pokemonshowdown.com/news/manage.php @@ -70,7 +70,7 @@ includeHeader(); $summary = str_replace("[b]", '', $summary); $summary = str_replace("[/b]", '', $summary); $summary = preg_replace('/\[psicon (pokemon|item|type|category)="([^\]]+)"\]/', '', $summary); - $summary = preg_replace('/\[psicon (pokemon|item|type|category)=([^\]]+)\]/', '', $summary); + $title = preg_replace('/\[psicon (pokemon|item|type|category)=([^\]]+)\]/', '', $title); $summary = '

'.$summary.'

'; $newsCache[$topic_id]['summary_html'] = $summary;