Clean up link formatting.