ironpress 1.5.4-arm64-darwin → 1.6.0-arm64-darwin

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6a8c652339b7b26bd8250cab2befcb94957652a97cfb9ba200ed94fc9bafe15a
4
- data.tar.gz: 799c55d9e62e31f62ed16792242a61d60d37ed1e8875dc7203d741bc9f08a709
3
+ metadata.gz: 8a58af49850ddb74ba94306758727a7c5ecb60dadf3cd6c6ab02fa0ceebf3a15
4
+ data.tar.gz: 158f54cc8bd2c525cfce924aac751f12c3726f49a1b3f84067c7a05e70ddab78
5
5
  SHA512:
6
- metadata.gz: 1a72e0627e34458ee0fdc1f0695fbe4380a1db1c58a0687012108cbb17eb7fe27cc4a11a4a54f20206c88eb6617668f397c3f1b58230d68741cc5604c2e11de0
7
- data.tar.gz: 3b3f93c04b5e9000dc38ec824993be05a2b5992f8fdcdd79cf13a9d68eef811b6db295323e67f0c438f223f44429a6e5c335ba37ccf34b1d8dc9242a112fbe86
6
+ metadata.gz: 4da184df6f1fa78ab84661928d217a378ed692487aaeaae1c7c1f1cb913bd1ae5a7bf586fbebb0c83730edd47e95332293728c11b383711a24d34cd991aebd29
7
+ data.tar.gz: 957148d27d955ba2951cb03ef4299dc075d8dae421ae8ce81ac2a66ac61f6734b24151ffa1dde65d3c1e97fd1cf8f66092476a3e0c8dae7fe6bc7e7e338fb850
data/README.md CHANGED
@@ -51,6 +51,9 @@ converter = Ironpress::HtmlConverter.new
51
51
  .header("Quarterly report")
52
52
  .footer("Page {page} of {pages}")
53
53
 
54
+ # Use header_html/footer_html for sanitized images, tables, and styled markup.
55
+ converter.header_html("<strong>Quarterly report</strong>")
56
+
54
57
  pdf = converter.convert("<h1>Results</h1>")
55
58
  markdown_pdf = converter.convert_markdown("# Results")
56
59
  ```
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Ironpress
4
- VERSION = "1.5.4"
4
+ VERSION = "1.6.0"
5
5
  end
data/lib/ironpress.rb CHANGED
@@ -36,7 +36,9 @@ module Ironpress
36
36
  base_path
37
37
  resource_root
38
38
  header
39
+ header_html
39
40
  footer
41
+ footer_html
40
42
  ].freeze
41
43
 
42
44
  def initialize
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ironpress
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.4
4
+ version: 1.6.0
5
5
  platform: arm64-darwin
6
6
  authors:
7
7
  - Paul Gaston Gouron
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-08-23 00:00:00.000000000 Z
11
+ date: 2026-08-27 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: |-
14
14
  Convert HTML, CSS, and Markdown to PDF with no browser or system