From a1336615a0d1f4cd9ba77d6a4b19e417388af01d Mon Sep 17 00:00:00 2001 From: LiaoYijun Date: Fri, 23 Jul 2021 14:39:16 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=A8=A1=E6=9D=BF=E6=9B=BF?= =?UTF-8?q?=E6=8D=A2=E6=96=B9=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/controllers/information.php | 13 ++++--------- application/views/mobile_first/ch-pc.php | 1 - 2 files changed, 4 insertions(+), 10 deletions(-) diff --git a/application/controllers/information.php b/application/controllers/information.php index 66ac0928..24426981 100644 --- a/application/controllers/information.php +++ b/application/controllers/information.php @@ -594,17 +594,12 @@ class Information extends CI_Controller $template_path . '-structured-data-breadcrumb', array('breadcrumb_data' => $breadcrumb_data, 'information' => $information), true); - $information->ic_content = str_replace( - '', - $breadcrumb_structured_data_content, - $information->ic_content); + $template = str_replace( + '', + $breadcrumb_structured_data_content, + $template); } - $information->ic_content = str_replace( - '', - "
", - $information->ic_content); - //替换模板中的标签 $template = str_replace('', $information->ic_seo_title, $template); diff --git a/application/views/mobile_first/ch-pc.php b/application/views/mobile_first/ch-pc.php index 9264af10..8e959a5b 100644 --- a/application/views/mobile_first/ch-pc.php +++ b/application/views/mobile_first/ch-pc.php @@ -445,7 +445,6 @@ if (window.localStorage && localStorage.getItem(GOT_IT_KEY)) { ] } -
\ No newline at end of file