Fix spaces and use link_to instead of <a> tags.