Since type="submit|buttom" can place the value in the innerHTML the form will only submit if the line is changed to this.
$html_value = isset($input['value']) ? (string) $input['value'] : trim(strip_tags($input->asXML()));
Since type="submit|buttom" can place the value in the innerHTML the form will only submit if the line is changed to this.
$html_value = isset($input['value']) ? (string) $input['value'] : trim(strip_tags($input->asXML()));