Accommodate the possibility of PDF and Text links