Skip to content

Latest commit

 

History

History
50 lines (39 loc) · 2.44 KB

CHANGELOG.md

File metadata and controls

50 lines (39 loc) · 2.44 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

0.4.0 - 2024-06-08

Added

  • Switch from Travis to Github Actions for Build and Test
  • Add rubocop for linting and cleanup existing violations (#36)

Changed

  • Add support for Ruby 3.x, removed support for Ruby < 3.0 since it is EOL
  • Allow subclassing of Html2Text to override the default behaviour (#30)

Fixed

  • Loosen nokogiri dependency to allow for nokogiri < 2.0 (#17)
  • Fix NoMethodError when parsing nodes with no name (#15)

0.3.1 - 2019-06-12

Security

0.3.0 - 2019-02-15

Added

  • Zero-width non-joiners are now stripped (#5)
  • Support both UTF-8 and Windows-1252 encoded files
  • Support converting <pre> blocks, including whitespace within these blocks
  • MS Office (MsoNormal) documents are now rendered closer to actual render output
    • Note this assumes that the input MS Office document has standard MsoNormal CSS. This component is not designed to try and interpret CSS within an HTML document.

Changed

  • Behaviour with multiple and nested <p>, <div> tags has been improved to be more in line with actual browser render behaviour (see test suite)

Fixed

  • Update nokogiri dependency to 1.8.5

0.2.1 - 2017-09-27

Fixed

  • Convert non-string input into strings (#3)