这是我的代码:
$html = $this->renderView('@App/pdf/default.html.twig', [
'item' => $item
]);
return new PdfResponse(
$this->get('knp_snappy.pdf')->getOutputFromHtml($html),
StringManipulation::slugify($item->getName()) . '.pdf'
);pdf-file中显示标签a类似于文本,而不是链接。我怎样才能使它成为链接?
发布于 2018-11-09 06:11:56
问题出在qt的wkhtmltopdf二进制文件中。
https://stackoverflow.com/questions/53193855
复制相似问题