rem: var pattern = misspelled_word + "(?!(\.\\w{2,3}\?.*)?\"\>)"; 
add: var pattern = misspelled_word + "(?![^<]*>)"; 
context: function make_spelling_correction(misspelled_word, form_element) {	var selected_key   = "select_" + form_element + '_' + misspelled_word;	var selected_index = document.forms.slashstoryform.elements[selected_key].selectedIndex;		if (selected_index == 0) {		return(0);	}	// Either learning a word or making a correction.	if (selected_index >= 1) {		if (selected_index == 1) {			var params = [];			params['op'] = 'admin_learnword';			params['word'] = misspelled_word;			ajax_update(params);		}		else {                        // Try to weed out HREFs and parameters                        var pattern = misspelled_word + "(?!(\.\\w{2,3}\?.*)?\"\>)";                        var re = new RegExp(pattern, "g");			var correction = document.forms.slashstoryform.elements[selected_key].value;			document.forms.slashstoryform.elements[form_element].value =				document.forms.slashstoryform.elements[form_element].value.replace(re, correction);		}		// Remove this row from the table.		var rowname = misspelled_word + '_' + form_element + '_correction';		var row = document.getElementById(rowname);		row.parentNode.removeChild(row);	}	// Remove the table if we're done.	var tablename = "spellcheck_" + form_element;	var table = document.getElementById(tablename);	var numrows = table.getElementsByTagName("TR");	if (numrows.length == 1) {		table.parentNode.removeChild(table);	}	}
meta: 3253	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3253/7c063cb983f3a098875a6abf5802be4bacf0cc7d/admin.js/clean/plugins/Ajax/htdocs/images/admin.js