User submitted long links in text boxes are breaking .pdf generation