Remove pdf link from the previews