Simplify recursive link output.