]> cat aescling's git repositories - mastodon.git/commit
Exclude URLs from text analysis (#11759)
authorMostafa Ahangarha <ahangarha@users.noreply.github.com>
Wed, 4 Sep 2019 20:30:49 +0000 (01:00 +0430)
committerEugen Rochko <eugen@zeonfederated.com>
Wed, 4 Sep 2019 20:30:49 +0000 (22:30 +0200)
commite974d4923fabd887416609bc6c8ca81ce81d0ff2
treef7d302d31ec4bbc7da91ce01e2808c7dbf8fa527
parentbdca8da8ebb133f9f2a01cd4881a2fc3f6852274
Exclude URLs from text analysis (#11759)

By the added regex, URLs, including the one without http or even www
like mysite.com will be removed from the toot's body so only the real
text of the toot will be analyzed for RTL detection
app/javascript/mastodon/rtl.js