Releases: blocknotes/prawn-html
Releases · blocknotes/prawn-html
v0.7.1
What's Changed
- [fix] Handle 'inherit' font-family value by @blocknotes in #48
Full Changelog: v0.7.0...v0.7.1
v0.7.0
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
What's Changed
- Evaluate before content on tag open by @blocknotes in #42
Full Changelog: v0.6.4...v0.6.5
v0.6.4
What's Changed
- Send the
li
before content only once by @blocknotes in #38 - Internal improvements by @blocknotes in #39
Full Changelog: v0.6.2...v0.6.4
v0.6.2
- Update text spaces handling
- Adjust leading per font family
- Update
normalize_style
helper method with an allowlist
v0.6.0
- 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
- Improve
v0.5.0
- 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
- New tags:
sub
andsup
- New tags:
code
andpre
- New CSS property:
white-space
v0.4.0
- 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
- New CSS properties: break-before / break-after
- Internal changes: improved PDF document isolation (with
PdfWrapper
class)