summaryrefslogtreecommitdiff
path: root/libs/Matcha.php
diff options
context:
space:
mode:
authorEltrac Koalar <hi@guhub.cn>2022-08-26 14:20:16 +0800
committerEltrac Koalar <hi@guhub.cn>2022-08-26 14:20:16 +0800
commit97b29e6ffd85a679fd65519ee17ce3ce54cd43b6 (patch)
tree9fa614b89dba0b1121da9e676f7058d6a04eaf1f /libs/Matcha.php
parente0c4d1c47a347f9ad3e3bc85a50821914a89cf21 (diff)
:put_litter_in_its_place: Remove: 移除 Pangu.php
因为需要这个功能的人不多,就算需要,那些需要的人大部分也已经养成手打空格的习惯了(比如我
Diffstat (limited to 'libs/Matcha.php')
-rw-r--r--libs/Matcha.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/libs/Matcha.php b/libs/Matcha.php
index 3d28ff9..ef49b0b 100644
--- a/libs/Matcha.php
+++ b/libs/Matcha.php
@@ -1,6 +1,5 @@
<?php
if (!defined('__TYPECHO_ROOT_DIR__')) exit;
-require_once("Pangu.php");
/**
* Matcha.php
* 处理主题显示的内容
@@ -264,7 +263,7 @@ class Matcha
{
$text = empty($last) ? $data : $last;
if ($widget instanceof Widget_Archive) {
- $text = Matcha::lazyLoad(pangu($text));
+ $text = Matcha::lazyLoad($text);
}
return $text;
}