它生成的每个pdf文件,都会不断添加
/* */
紧接着最后一行文字。什么可以导致这种奇怪的行为?这是我的设置:
$tcpdf = new TcPdf;
$tcpdf->setPrintHeader(false);
$tcpdf->setPrintFooter(false);
$tcpdf ->setFontSubsetting(true);
$tcpdf->AddPage();
$tcpdf ->SetFont('freesans', '', 11);
$tcpdf->writeHTML($input,false);
// ^ I thought removing the new line would fix it but didn't
$tcpdf->Output($output, 'I');