From bf183e944f0cbb924b73c84d2c8cdb7b59d35eb1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=98=94=E8=90=BD?= <45323514+BigCoke233@users.noreply.github.com> Date: Sat, 6 Apr 2019 16:48:17 +0800 Subject: =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=97=A0=E6=B3=95=E8=AF=84=E8=AE=BA?= =?UTF-8?q?=E9=97=AE=E9=A2=98=EF=BC=8C=E7=8E=B0=E5=9C=A8=E5=85=B7=E6=9C=89?= =?UTF-8?q?data-pjax=E7=89=B9=E6=80=A7=E7=9A=84=E5=85=83=E7=B4=A0=E6=89=8D?= =?UTF-8?q?=E8=83=BD=E4=BD=BFpjax=E5=93=8D=E5=BA=94?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- post/post-content.php | 3 ++- post/post-item.php | 13 +++++++++---- 2 files changed, 11 insertions(+), 5 deletions(-) (limited to 'post') diff --git a/post/post-content.php b/post/post-content.php index a1fdd24..56d160d 100644 --- a/post/post-content.php +++ b/post/post-content.php @@ -1,7 +1,8 @@ content; - $content = preg_replace('//s','',$content); + $content = preg_replace('//s','',$content); + $content = preg_replace('//s','
',$content); $content = preg_replace('/
/s','
',$content);
 	$content = preg_replace('//s','${4}',$content); 
 	
diff --git a/post/post-item.php b/post/post-item.php
index 5452f45..262632f 100644
--- a/post/post-item.php
+++ b/post/post-item.php
@@ -12,10 +12,10 @@
 			  author->gravatar(50) ?>
 			
 		    
-

title(); ?>

+

title(); ?>

date('F j, Y'); ?>
- 前往吐槽 + 前往吐槽
@@ -24,7 +24,7 @@ fields->type=='2'): ?> - +