From e6634ca24d0127ab9913a6717466c5cd14a4ff95 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E6=99=AF=E7=AB=8B?= Date: Mon, 7 Jun 2021 10:33:42 +0800 Subject: [PATCH] Update view.php --- config/view.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/view.php b/config/view.php index 54fc717c6..59b7478ee 100644 --- a/config/view.php +++ b/config/view.php @@ -26,7 +26,7 @@ return [ // 模板文件名分隔符 'view_depr' => DIRECTORY_SEPARATOR, // 去除HTML空格换行 - 'strip_space' => false, + 'strip_space' => true, // 模板缓存配置 'tpl_cache' => !app()->isDebug(), // 模板引擎普通标签开始标记