src/PHPDish/Bundle/CmsBundle/Twig/CmsExtension.php
public function safeChunk(string $html, float $percent): string
    {
        return $this->htmlChunker->chunk($html, $percent);
    }
public function safeChunk(string $html, float $percent): string
    {
        return $this->htmlChunker->chunk($html, $percent);
    }
安全裁切 html
@param string $html
@param float $percent
@return string