printer/html2text/README.md
author Mikael Berthe <mikael@lilotux.net>
Wed, 21 Mar 2018 22:47:40 +0100
changeset 214 78fe649d7fc9
parent 126 7d712d2bde73
permissions -rw-r--r--
Version 2.3.0
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
126
7d712d2bde73 Much improved html2text (fromhtml)
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
     1
# html2text
7d712d2bde73 Much improved html2text (fromhtml)
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
     2
7d712d2bde73 Much improved html2text (fromhtml)
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
     3
This is a copy of github.com/sgoertzen/html2text, heavily customized for
7d712d2bde73 Much improved html2text (fromhtml)
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
     4
Mastodon's HTML messages.
7d712d2bde73 Much improved html2text (fromhtml)
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
     5
7d712d2bde73 Much improved html2text (fromhtml)
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
     6
html2text is an HTML to text converter written in Go.
7d712d2bde73 Much improved html2text (fromhtml)
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
     7
This library will strip the html tags from the source and perform clean up on the text.
7d712d2bde73 Much improved html2text (fromhtml)
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
     8
This includes things like adding new lines correctly and appending on urls from links.
7d712d2bde73 Much improved html2text (fromhtml)
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
     9
7d712d2bde73 Much improved html2text (fromhtml)
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
    10
For Mastodon tags, URLs are not displayed.