Pretty sure this is the line of code before-which special cases need to be handled
// Uses Array.join instead of string concatenation for speed
currentItem.push(optgroupElement + '<li id="' + index + '" data-val="' + this.value + '" data-disabled="' + dataDisabled + '" class="' + optgroupClass + '"><a><i class="' + iconClass + '"></i>' + $(this).text() + '</a></li>');
Pretty sure this is the line of code before-which special cases need to be handled