printer/html2text/README.md
author Mikael Berthe <mikael@lilotux.net>
Sat, 04 Feb 2023 13:35:58 +0100
changeset 271 c8b8b7cc8896
parent 126 7d712d2bde73
permissions -rw-r--r--
Remove deprecated flag (`--unset`)

# html2text

This is a copy of github.com/sgoertzen/html2text, heavily customized for
Mastodon's HTML messages.

html2text is an HTML to text converter written in Go.
This library will strip the html tags from the source and perform clean up on the text.
This includes things like adding new lines correctly and appending on urls from links.

For Mastodon tags, URLs are not displayed.