From 40a94d21a37a48ea8062e1f181ff6d35c9cf5408 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E6=9D=9C=E6=81=92?= <2323333339@qq.com>
Date: Tue, 30 Mar 2021 18:00:49 +0800
Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
core/short.php | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
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=';