code: function replaceSpecialChar(item, char) {
  	var lastPos = 0;
  	var newStr = item;
  
  	while ((lastPos = newStr.indexOf(char, lastPos)) >= 0) {
  		var escaped = j79.escapePrecedingSlashes(newStr, lastPos);
  		lastPos = escaped.correctedPos;
  		newStr = escaped.escapedStr;
  
  		if (escaped.escaped) {
  			lastPos++;
  			continue;
  		}
  
  		newStr = newStr.substr(0, lastPos) + SPECIAL_CHARS_MAP[char] + newStr.substr(lastPos + 2);
  	}
  
  	return newStr;
  }
docs: ///////////////////////////////////////////////////////////////////////////////////