rem: name = ReplaceWhitespace(name, "_"); 
add: name = PrepareStringForURL(name); 
context: function ValidateData(){  var name = TrimString(nameInput.value);  if (name.length == 0) {      ShowInputErrorMessage(GetString("MissingAnchorNameError"));      nameInput.focus();      return false;  } else {    // Replace spaces with "_" else it causes trouble in URL parsing    name = ReplaceWhitespace(name, "_");    if (AnchorNameExists(name)) {      ShowInputErrorMessage("\""+name+"\" "+GetString("DuplicateAnchorNameError"));                  nameInput.focus();      return false;    }    globalElement.setAttribute("name",name);  }  return true;}
meta: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/711c0f72c9655c2558d43bb716847f1a294b8372/EdNamedAnchorProps.js/clean/editor/ui/dialogs/content/EdNamedAnchorProps.js