David Yip 9105b0c954
Introduce html2text for extracting plaintext from statuses. #236.
Unlike strip_tags, html2text will preserve text present in other nodes,
e.g. anchor tags:

    [1] pry(main)> str = '<a href="http://www.example.com">A link</a>'
    => "<a href=\"http://www.example.com\">A link</a>"
    [2] pry(main)> Html2Text.convert(str)
    => "[A link](http://www.example.com)"
    [3] pry(main)> include ActionView::Helpers::SanitizeHelper
    => Object
    [4] pry(main)> strip_tags(str)
    => "A link"

Preserving the href of an anchor allows keyword mutes to also match on
URLs, which is something that the frontend regex filter can currently
do.
2018-02-10 10:36:16 -06:00
2016-02-20 22:53:20 +01:00
2016-02-20 22:53:20 +01:00
2017-07-14 20:30:12 +02:00
2017-07-27 22:30:27 +02:00
2017-12-03 23:26:40 -08:00
2017-07-27 22:30:27 +02:00
2017-04-15 02:05:41 +02:00
2016-02-25 00:17:01 +01:00
2018-01-19 20:53:30 +01:00
2017-07-27 22:30:27 +02:00
2017-07-14 09:42:50 -07:00
2017-11-17 19:29:17 -08:00
2016-02-20 22:53:20 +01:00

Mastodon Glitch Edition

Now with automated deploys!

Build Status

So here's the deal: we all work on this code, and then it runs on dev.glitch.social and anyone who uses that does so absolutely at their own risk. can you dig it?

Description
Custom front end for Mastodon
Readme 222 MiB
Languages
Ruby 40.4%
JavaScript 39.5%
SCSS 15.9%
Haml 3.9%
HTML 0.1%