Fixes an issues with double replacement of smileys in alt test.