diff --git a/core/short.php b/core/short.php index 731adaa..ddb0a3b 100644 --- a/core/short.php +++ b/core/short.php @@ -12,11 +12,11 @@ function _parseContent($post, $login) )); } if (strpos($content, '{music') !== false) { - $content = preg_replace('/{music-list([^\/}]*)\/}/SU', '', $content); - $content = preg_replace('/{music([^\/}]*)\/}/SU', '', $content); + $content = preg_replace('/{music-list([^}]*)\/}/SU', '', $content); + $content = preg_replace('/{music([^}]*)\/}/SU', '', $content); } if (strpos($content, '{bilibili') !== false) { - $content = preg_replace('/{bilibili([^\/}]*)\/}/SU', '', $content); + $content = preg_replace('/{bilibili([^}]*)\/}/SU', '', $content); } if (strpos($content, '{dplayer') !== false) { $player = Helper::options()->JCustomPlayer ? Helper::options()->JCustomPlayer : Helper::options()->themeUrl . '/library/player.php?url=';