Fixed breaking of fractions and smileys