David Yip
26573ad7e6
Thread scopes through #matches?. #454 .
...
Also add an apply_to_mentions attribute on Glitch::KeywordMute, which is
used to calculate scope. Next up: additions to the test suite to
demonstrate how scoping works.
7 years ago
David Yip
f1f67c46c5
Use Html2Text to generate plaintext for keyword mutes. #236 .
...
This allows us to match URLs inside link hrefs.
7 years ago
David Yip
53c86b29f0
Glitch::FilterHelper -> Glitch::KeywordMuteHelper. #234 .
...
The class helps out with keyword mutes, not just some general concept of
"filtering".
7 years ago
David Yip
d263e3bc2d
Fill out some examples for Glitch::FilterHelper. #234 .
...
Also add HTML entity decoding to Glitch::FilterHelper, which is needed
to e.g. match "<" to the tag-stripped version of "<p><3</p>" or
"<p><3</p>".
7 years ago
David Yip
29b5b46c87
Strip HTML from keyword mute input. #234 .
7 years ago