#61: removing spaces in comma separated lists. leading spaces worked already but ending spaces are now also removed