我有一个rails应用程序,可以为给定的html部分生成pdf . 在部分我有许多具有_blank目标的链接,但是在生成的PDF中,目标看起来像被忽略 .

我只想让pdf在新的标签/窗口中打开链接 .

PDFKIT的合作者说

"This sounds like a problem with wkhtmltopdf (which is what renders the pdf from the html). (Pdfkit just wires up everything between ruby/rails and that binary.)"

任何帮助,将不胜感激 .

问候,