Added rm_math_space to markdown cells in the basichtml.tpl to be rendered ok by mathjax after the nbconvertion.

This solves the issue https://github.com/ipython/ipython/issues/3739

Cheers.

Damián

PS: pinging @jdfreder who is renaming this function in other PR ;-)