From d10a9575671e9a48033c65d9ae4c68c91ffbbef0 Mon Sep 17 00:00:00 2001 From: spirit Date: Mon, 28 Oct 2019 21:04:01 +0800 Subject: [PATCH] =?UTF-8?q?=E6=81=A2=E5=A4=8D=E6=84=8F=E5=A4=96=E5=88=A0?= =?UTF-8?q?=E9=99=A4=E7=9A=84=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- functions.php | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/functions.php b/functions.php index ff613f9..f7d3b96 100644 --- a/functions.php +++ b/functions.php @@ -1513,12 +1513,14 @@ function codecheese_register_post( $sanitized_user_login, $user_email, $errors ) // html 标签处理器 function html_tag_parser($content) { - if(!is_feed()) { - $content=preg_replace( - '//i', - "\n", - $content - ); + if(!is_feed()) { + if(akina_option('lazyload') && akina_option('lazyload_spinner')){ + $content=preg_replace( + '//i', + "\n", + $content + ); + } //Fancybox /* Markdown Regex Pattern for Matching URLs: