Clean up newlines around links.