From b5d5a7b4d07617696c5db2980e5b279096a4c8fa Mon Sep 17 00:00:00 2001 From: Eltrac <45323514+BigCoke233@users.noreply.github.com> Date: Sat, 14 Dec 2019 17:33:18 +0800 Subject: =?UTF-8?q?=F0=9F=8E=8A=20Fix:=20=E5=BC=80=E5=8F=91=E7=89=88?= =?UTF-8?q?=E6=97=A0=E6=B3=95=E4=BD=BF=E7=94=A8=20Tip-group=20=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- libs/Contents.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libs') diff --git a/libs/Contents.php b/libs/Contents.php index e31c35c..d9c5ddc 100644 --- a/libs/Contents.php +++ b/libs/Contents.php @@ -29,6 +29,8 @@ class Contents $text = preg_replace('/\[tip\](.*?)\[\/tip\]/s','
${1}
',$text); //Tip $text = preg_replace('/\[tip type="(.*?)"\](.*?)\[\/tip\]/s','
${2}
',$text); + //Tip Group + $text = preg_replace('/\[tip\-group\](.*?)\[\/tip\-group\]/s','
${1}
',$text); //解析友链盒子 $reg = '/\[links\](.*?)\[\/links\]/s'; -- cgit v1.2.3