We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 29a3dd4 commit 2deebe3Copy full SHA for 2deebe3
lib/pdfkit/wkhtmltopdf.rb
@@ -3,9 +3,9 @@
3
class PDFKit
4
class WkHTMLtoPDF
5
attr_reader :options
6
- # Pulled from:
7
- # https://github.com/wkhtmltopdf/wkhtmltopdf/blob/ebf9b6cfc4c58a31349fb94c568b254fac37b3d3/README_WKHTMLTOIMAGE#L27
8
- REPEATABLE_OPTIONS = %w[--allow --cookie --custom-header --post --post-file --run-script].freeze
+ # Pulled from:
+ # https://github.com/wkhtmltopdf/wkhtmltopdf/blob/6a57c1449797d6cb915921fb747f3ac36199241f/docs/usage/wkhtmltopdf.txt#L104
+ REPEATABLE_OPTIONS = %w[--allow --bypass-proxy-for --cookie --custom-header --post --post-file --run-script --replace].freeze
9
SPECIAL_OPTIONS = %w[cover toc].freeze
10
11
def initialize(options)
0 commit comments