diff --git a/library/think/template/TagLib.php b/library/think/template/TagLib.php index 2e0d232f..d343bed0 100644 --- a/library/think/template/TagLib.php +++ b/library/think/template/TagLib.php @@ -190,7 +190,7 @@ class TagLib * @param boolean $close 是否为闭合标签 * @return string */ - private function getRegex($tags, $close) + public function getRegex($tags, $close) { $begin = $this->tpl->config('taglib_begin'); $end = $this->tpl->config('taglib_end');