src/Fields/Text.php
public function parseValue($value)
    {
        if (is_array($value)) {
            array_walk_recursive($value, [$this, 'doHtmlspecialchars']);
        } else {
            $value = $this->doHtmlspecialchars($value);
        }

        return parent::parseValue($value);
    }
public function parseValue($value)
    {
        if (is_array($value)) {
            array_walk_recursive($value, [$this, 'doHtmlspecialchars']);
        } else {
            $value = $this->doHtmlspecialchars($value);
        }

        return parent::parseValue($value);
    }
public function parseValue ( $ value ) { if ( is_array ( $ value ) ) { array_walk_recursive ( $ value , [ $ this , 'doHtmlspecialchars' ] ) ; } else { $ value = $ this -> doHtmlspecialchars ( $ value ) ; } return parent :: parseValue ( $ value ) ; }
Parse value for HTML special chars.

@param  string $value
@return string
Parse value for HTML special chars .