unescape selftext_html from json api, fixes #354 (#357)

* unescape selftext_html from json api, fixes #354

* fix(fmt)

---------

Co-authored-by: Matthew Esposito <matt@matthew.science>
This commit is contained in:
Martin Lindhe 2025-02-03 03:56:47 +01:00 committed by GitHub
parent 9e47bc37c7
commit adf25cb15b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 10 additions and 1 deletions

7
Cargo.lock generated
View file

@ -770,6 +770,12 @@ version = "0.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fbf6a919d6cf397374f7dfeeea91d974c7c0a7221d0d0f4f20d859d329e53fcc"
[[package]]
name = "htmlescape"
version = "0.3.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e9025058dae765dee5070ec375f591e2ba14638c63feff74f13805a72e523163"
[[package]]
name = "http"
version = "0.2.12"
@ -1367,6 +1373,7 @@ dependencies = [
"dotenvy",
"fastrand",
"futures-lite",
"htmlescape",
"hyper",
"hyper-rustls",
"libflate",