Skip to content

Releases: blocknotes/prawn-html

v0.7.1

05 Sep 09:34
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.7.0...v0.7.1

v0.7.0

10 Jun 20:14
Compare
Choose a tag to compare

What's Changed

  • Introduce PrawnHtml::Instance class to preserve the context by @blocknotes in #43

Full Changelog: v0.6.5...v0.7.0

v0.6.5

07 Jun 20:37
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.6.4...v0.6.5

v0.6.4

03 May 06:40
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.6.2...v0.6.4

v0.6.2

20 Sep 19:57
3bfb469
Compare
Choose a tag to compare
  • Update text spaces handling
  • Adjust leading per font family
  • Update normalize_style helper method with an allowlist

v0.6.0

14 Sep 06:59
9230efc
Compare
Choose a tag to compare
  • Handle initial values
  • Internal improvements:
    • Improve text-decoration: line-through property/value handling
    • Avoid to apply nil attributes
    • Make update_styles a mandatory method
    • Permit to remove a specific rule/value from the context styles
    • Move base styles Context method in a constant
    • Restore Context default styles values (if available) when using initial

v0.5.0

09 Sep 06:41
56baa11
Compare
Choose a tag to compare
  • Improve some tags rendering: A, Blockquote, Body, Br, H, Li, Ol, P, Ul
  • Update default font size
  • Fix margin left property
  • CSS property/value: text-decoration: line-through
  • Internal changes to Prawn callbacks handling

v0.4.2

03 Sep 08:01
Compare
Choose a tag to compare
  • New tags: sub and sup
  • New tags: code and pre
  • New CSS property: white-space

v0.4.0

29 Aug 06:30
Compare
Choose a tag to compare
  • New tag: blockquote
  • Ignore some elements: HTML comments, tags script and style (inside/outside the body element)
  • Internal: improve document styles handling (more flexibility on CSS selectors)
  • Internal: improve tag styles handling
  • Internal: normalize PDF style attributes

v0.3.2

27 Aug 07:37
Compare
Choose a tag to compare
  • New CSS properties: break-before / break-after
  • Internal changes: improved PDF document isolation (with PdfWrapper class)