/** * @inheritdoc */ public function render() { $value = $this->getValue(); $this->attributes['value'] = htmlentities($value, ENT_QUOTES); return parent::render(); }