private static function sanitizeName($name)
{
// Check if the key has whitespace in it, if so show it and add an icon explanation
$has_white_space = preg_match("/\\s/", $name);
if ($has_white_space) {
// Convert the white space to unicode underbars to visualize it
$name = preg_replace("/\\s/", "␣", $name);
$title = "Note: Key contains white space";
$icon = static::get_icon("information", $title);
$ret = $name . $icon;
} else {
$ret = $name;
}
return $ret;
}