Added select tag to collapseWhitespaceSmart