chiark / gitweb /
First cut at parsing HTML of a toot.
authorSimon Tatham <anakin@pobox.com>
Sat, 23 Dec 2023 15:22:29 +0000 (15:22 +0000)
committerSimon Tatham <anakin@pobox.com>
Sat, 23 Dec 2023 17:12:34 +0000 (17:12 +0000)
commit4c5fa83c99a6785caa0f930be961f875aa9acd24
treee2c3fe78c70999e9cb68d890ac3cf7789d85b0a0
parent568cc3142b0ced9efda0b617ab31519be787cc71
First cut at parsing HTML of a toot.

But it doesn't work right, because the CSS is ignored. I think that's
because html2text only processes CSS classes on <span> elements, not
on <a> where the Mastodon server puts them.
Cargo.toml
src/html.rs [new file with mode: 0644]
src/lib.rs
src/main.rs
src/types.rs