this type escape_html_string type

1
$this -> type = escape_html_string($type);