Stripping trailing spaces from button links.