Mindinventory / Golang-HTML-TO-PDF-Converter

Golang HTML to PDF Converter

Home Page:https://www.mindinventory.com/golang-development.php

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

questions

zlf341 opened this issue · comments

Hi, there

thank you for this great lib.

just one question about CSP, Content Security Policy (CSP) , does it support csp in html head as ?
e.g,

okay, this is using: wkhtmltopdf

ref: https://wkhtmltopdf.org/downloads.html
Do not use wkhtmltopdf with any untrusted HTML – be sure to sanitize any user-supplied HTML/JS, otherwise it can lead to complete takeover of the server it is running on! Please read the project status for the gory details.

so wil this lib do sanitize html, then?