From 18cb403e1b1afe969d9f29000e4668cb70788347 Mon Sep 17 00:00:00 2001 From: Eltrac <45323514+BigCoke233@users.noreply.github.com> Date: Fri, 24 Jan 2020 16:14:19 +0800 Subject: =?UTF-8?q?=F0=9F=94=97=20Perf:=20=E6=96=87=E7=AB=A0=E5=86=85?= =?UTF-8?q?=E6=89=80=E6=9C=89=E9=93=BE=E6=8E=A5=E6=96=B0=E7=AA=97=E5=8F=A3?= =?UTF-8?q?=E6=89=93=E5=BC=80?= 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/Contents.php') diff --git a/libs/Contents.php b/libs/Contents.php index a196c5d..a377a13 100644 --- a/libs/Contents.php +++ b/libs/Contents.php @@ -19,6 +19,8 @@ class Contents //由于实在没找到TE获取主题配置的相关函数,故只能用这种方法,吐了。 $text = empty($last) ? $data : $last; if ($widget instanceof Widget_Archive) { + //a 标签新窗口打开 + $text = preg_replace('//s','',$text); //Prism 高亮 $text = preg_replace('/
/s','
',$text);
 		    //FancyBox
-- 
cgit v1.2.3