fix emoticon and mathjax problem on markdown