Fix generation of new string by parsing smilies properly