Think/Template.php
private function parseLiteral($content)
    {
        if (is_array($content)) {
            $content = $content[1];
        }
        if (trim($content) == '') {
            return '';
        }
        $i = count($this->literal);
        $parseStr = "<!--###literal{$i}###-->";
        $this->literal[$i] = $content;

        return $parseStr;
    }
private function parseLiteral($content)
    {
        if (is_array($content)) {
            $content = $content[1];
        }
        if (trim($content) == '') {
            return '';
        }
        $i = count($this->literal);
        $parseStr = "<!--###literal{$i}###-->";
        $this->literal[$i] = $content;

        return $parseStr;
    }
替换页面中的literal标签


@param string $content 模板内容

@return string|false