Fixing issue with IE8 and leading spaces in content types