Thanks but that would not be the case since it comes from my hosting company and domain. I checked and the links should be literal links to another website. Here is my code:
$html1 = '<h2 class="articleTitle">';
$html11 = stripslashes($ca["Title"]) ;
$html12 = '</h2>';
$html2 = $ca["ArticleText"] ;
$html = "$logo $html1 $html11 $html12 $html2";
$dompdf = new DOMPDF();
$dompdf->load_html($html);
$dompdf->render();
$dompdf->stream("sample.pdf");
As you can see here, $html2 is calling the pdf body which contains the links that are getting messed up when opening the pdf document. Any ideas?