content = $content; if ($keyword !== '') { $token->isText = false; $token->keyword = trim($keyword); $token->attrs = $attrs; } return $token; } }