YuiRestClient::Sanitizer - remove '&' from labels
Copyright © 2021 SUSE LLC
SPDX-License-Identifier: FSFAP
QE YaST <qa-sle-yast@suse.de>
$item = '&OK';
$item = YuiRestClient::Sanitizer::sanitize($item);
This method removes the '&' from widget labels. The '&' is used in UI widgets to mark the hot key that is assigned to the widget, for example '&OK' to label an OK button.
sanitize($item) - remove first '&' from item.