From c9f053022c7ff4627a4e861801850ff40bf20e1b 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, 13 Apr 2019 14:41:13 +0800 Subject: Add files via upload --- post/post-content.php | 4 ++-- post/post-item.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'post') diff --git a/post/post-content.php b/post/post-content.php index 56d160d..068f6a1 100644 --- a/post/post-content.php +++ b/post/post-content.php @@ -4,8 +4,8 @@ $content = preg_replace('//s','',$content); $content = preg_replace('//s','',$content); $content = preg_replace('/
/s','
',$content);
-	$content = preg_replace('//s','${4}',$content); 
-	
+	$content = preg_replace('//s','
${4}
',$content); + //短代码(无参数) $reg = '/\[scode\](.*?)\[\/scode\]/s'; $rp = '
${1}
'; diff --git a/post/post-item.php b/post/post-item.php index fe81b5d..e7307a7 100644 --- a/post/post-item.php +++ b/post/post-item.php @@ -15,7 +15,7 @@

title(); ?>

date('F j, Y'); ?>
- 前往吐槽 + 前往吐槽 -- cgit v1.2.3