Skip to content

Commit

Permalink
Patches for breaking changes in html2text
Browse files Browse the repository at this point in the history
  • Loading branch information
dscottboggs committed Feb 6, 2024
1 parent 323c33d commit 6836788
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions examples/home_timeline.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,11 @@ async fn run() -> Result<()> {
"\ttoot from {}:\n{}",
status.account.display_name,
html2text::parse(status.content.as_bytes())
.expect("parse html")
.render_plain(90)
.expect("render html")
.into_string()
.expect("html to string")
)
})
.await;
Expand Down

0 comments on commit 6836788

Please sign in to comment.