1

这是我的代码:

$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文件中显示标签a,就像文本一样,而不是链接。我怎样才能使它成为链接?

4

1 回答 1

-1

问题出在wkhtmltopdf二进制文件中qt

于 2018-11-08T22:11:55.940 回答