protected function clearCondition($source)
    {
        $line = $this->getStringBetween($source, '{%', '%}');
        if (strlen($line) > 0) {
            return str_replace(['&#39;', '&nbsp;'], ["'", ' '], $source);
        }
        return $source;
    }