ironpress 1.5.4-x86_64-linux → 1.6.0-x86_64-linux

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: 930615f325be00ca5381f7a9da0b804d10e1bdf6376d49499bbab2289f1c0ba3
4
- data.tar.gz: 1f777f7e0f6ba97393925551554ed1d9dff62e4701a322133e8854bdb1ac1d32
3
+ metadata.gz: 95da2925d59185562eda2d2aaefb7c060b6e94ab46c5dfdbd109fb826265043a
4
+ data.tar.gz: '081ef42878b0bb41afa94f8431373777fd686b79534c91c3afb8b1a3b1a97c91'
5
5
  SHA512:
6
- metadata.gz: 38fdc3cdb1a920e3da7c1081c0bee367e9f7099cb6007fb18f1b4f26a33e080d39eaddbcd2f8d5eafa595a16381452d2c6706174795fd7c3691bde414a708073
7
- data.tar.gz: 407b4d061b5ce9889c90fa2d6af5d23620ae4ad43a5f5bdc66f05db99ef81da2cb5fee472d9334c8347396351e2035cf4368bff3f5187e62ec94c0078eae7430
6
+ metadata.gz: 395f51f8237bd91e4865759b2cca6ae5ffc1bc2589a7714eefd3eac1529a92b4a6c32d3c1581c0075af94931321c5d9b0d39a9ea1a7fb1a27bb659d9a9c216ac
7
+ data.tar.gz: c683aa44fc1bcc3d3c87de31bc730930c87affbb3eb35f7a7615b02cf3296fc33a61293b5f814cd14e50621799b5128737c5a869024cf6b419ee6519085133dc
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
  ```
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -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: x86_64-linux
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