fix: selector is not created properly when there are extra spaced in class attribute.