Removes space from html attribute class