private function processText(Token $token) { if ($this->lastAttrValue === '' && Helpers::startsWith($this->context, self::CONTEXT_HTML_ATTRIBUTE)) { $this->lastAttrValue = $token->text; } $this->output .= $this->escape($token->text); }