Fixed 'Bug 11927 - Format doesn't erase spaces before dot'.