Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rework mention replacement func #258

Merged
merged 1 commit into from
Oct 1, 2021
Merged

Conversation

tsmethurst
Copy link
Contributor

This PR fixes an issue where if one mentioned oneself, and posted a link to one's own status, the link would be formatted as a mention (!!).

The solution was to rework the mention replacement function in text to replace only exact regex matches, in line with the way we replace tags.

@tsmethurst tsmethurst merged commit 365c3bf into main Oct 1, 2021
@tsmethurst tsmethurst deleted the mention_self_with_link_fix branch October 1, 2021 12:10
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.

None yet

1 participant