Fix for test names with spaces causing html id errors