@robjohn: could you maybe help out
in this thread? I was pretty sure we isolated that mathjax inserted some garbage when we discussed that
smiley-breaking phenomenon a while ago. However, I've been unable to reproduce the problem, but what joriki reports seems related to me. Given that you figured it out, you can maybe say more.