private function handleText($text) { if (empty($text)) { $text = \Configer::get('page_name'); } if (mb_strlen($text, 'utf-8') > 140) { $text = mb_substr($text, 0, 140, 'utf-8'); } $text = str_replace('\\n', "\n", $text); $text = $this->autoWrap($text); return $text; }