only processing output/longtext so we don't have issue with putting links where they shouldn't be