extra code to convert user submitted input to smileys