Improved smileys parsing