Skip to content

Releases: blocknotes/prawn-html

v0.7.1

Choose a tag to compare

@blocknotes blocknotes released this 05 Sep 09:34

What's Changed

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

v0.7.0

Choose a tag to compare

@blocknotes blocknotes released this 10 Jun 20:14

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

Choose a tag to compare

@blocknotes blocknotes released this 07 Jun 20:37

What's Changed

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

v0.6.4

Choose a tag to compare

@blocknotes blocknotes released this 03 May 06:40

What's Changed

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

v0.6.2

Choose a tag to compare

@blocknotes blocknotes released this 20 Sep 19:57
3bfb469
  • Update text spaces handling
  • Adjust leading per font family
  • Update normalize_style helper method with an allowlist

v0.6.0

Choose a tag to compare

@blocknotes blocknotes released this 14 Sep 06:59
9230efc
  • 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

Choose a tag to compare

@blocknotes blocknotes released this 09 Sep 06:41
56baa11
  • 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

Choose a tag to compare

@blocknotes blocknotes released this 03 Sep 08:01
  • New tags: sub and sup
  • New tags: code and pre
  • New CSS property: white-space

v0.4.0

Choose a tag to compare

@blocknotes blocknotes released this 29 Aug 06:30
  • 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

Choose a tag to compare

@blocknotes blocknotes released this 27 Aug 07:37
  • New CSS properties: break-before / break-after
  • Internal changes: improved PDF document isolation (with PdfWrapper class)