Remove spaces after inline math markup.

Refs #8948