Skip to content

Exclude URLs from text analysis#11759

Merged
Gargron merged 1 commit intomastodon:masterfrom
ahangarha:improve-rtl-support
Sep 4, 2019
Merged

Exclude URLs from text analysis#11759
Gargron merged 1 commit intomastodon:masterfrom
ahangarha:improve-rtl-support

Conversation

@ahangarha
Copy link
Copy Markdown
Contributor

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

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
@Gargron Gargron merged commit e974d49 into mastodon:master Sep 4, 2019
hiyuki2578 pushed a commit to ProjectMyosotis/mastodon that referenced this pull request Oct 2, 2019
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants