Fixed formatting bug in IE. Closes #229