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
- Switch from Travis to Github Actions for Build and Test
- Add rubocop for linting and cleanup existing violations (#36)
- 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)
- 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
- Bumped nokogiri requirement to ~> 1.10.3, resolving CVE-2019-11068 (#8)
0.3.0 - 2019-02-15
- 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.
- Note this assumes that the input MS Office document has standard
- Behaviour with multiple and nested
<p>
,<div>
tags has been improved to be more in line with actual browser render behaviour (see test suite)
- Update nokogiri dependency to 1.8.5
0.2.1 - 2017-09-27
- Convert non-string input into strings (#3)