[changed] Config::add_css now returns Result instead of panicking on
CSS parse errors. Errors from parsing document CSS are ignored.
[added] Support <font color=...> when CSS is enabled.
[added] Config::max_wrap_width() to wrap text to a norrower width than
the overal size available.
[added] Add --wrap-width and --css options to html2text example.
0.8.0
[added] CSS: Support more extensive selectors
[changed] CSS handling defaults to off; use Config::use_doc_css()
or Config::add_css to use CSS.
0.7.1
[added] Now recognised CSS display:none
[added] Can now add extra CSS rules via Config::add_css.
[changed] StyleData::coloured is no longer public.
0.7.0
[changed] Remove some noisy stderr output when encoutering control chars
(thanks sftse)
[added] A builder-based config API.
[changed] Updated MSRV to 1.60
[fixed] Fixed #88: panic when a width of zero passed in (thanks bingen13)
[fixed] Fixed #90: Fixed a divide-by-zero panic with colspan=0 (thanks mtorromeo)
[added] Add very basic CSS colour support (under the css feature flag)
[changed] Removed ansi_colours feature (from_read_coloured is always available)
[changed] Overhauled error handling. Internally (and in the lower level
API) errors (mainly "TooNarrow") are passed around with Result. Fixed
some panics and infinite loops. (Thanks WIZeaz for fuzzing)
0.6.0
[changed] Improve layout of tables thanks to sftse:
Table column size estimates have been improved when the source HTML has a lot
of unnecessary whitespace.
Move the URL footnotes out to the top level, also improving layout of tables
containing links.
[changed] Some APIs have slightly changed as part of the table improvements,
though most users should not be affeted.
0.5.1
[fixed] Some tables were rendered too wide.
0.5.0
... (truncated)
Commits
4b3c3fa Merge pull request #102 from jugglerchris/prepare_0.9.0
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Updates the requirements on html2text to permit the latest version.
Changelog
Sourced from html2text's changelog.
... (truncated)
Commits
4b3c3fa
Merge pull request #102 from jugglerchris/prepare_0.9.043386ea
Update CHANGELOG again.514ceb7
Add --css and --wrap-width to html2text example.2da2461
Update for 0.9.0.9294dc0
Make add_css() return Result.6e230ed
Merge pull request #101 from jugglerchris/add_wrap_width0f82174
Disable some tests when tracing is enabled.4c63620
Add another test for wrap width.0ef53d2
Add Config::max_wrap_width().2a1f758
Merge pull request #100 from jugglerchris/better_selectorsDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show