Remove spaces after inline math markup.

Refs #8948
Merge branch 'feature/8948_polarisation_corrections' into develop