Prettify links output.