Replace any spaces if separated by commas
Merge pull request #16083 from dmyerscough/fix-spacing-with-lists

Replace any spaces if separated by commas