Strip spaces.
Fix Issue 11175 - Format should support IUnknown classes.
Merge pull request #2090 from AndrejMitrovic/Fix11175

Issue 11175 - Format should support IUnknown classes