Fix #448 display math

see discussion in #448 

![image](https://cloud.githubusercontent.com/assets/4340267/5046247/3e90e1b8-6c08-11e4-8bf9-3c041ab46fdf.png)