trim whitespaces of the srcset attribute