We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 55252b5 commit d526da8Copy full SHA for d526da8
app/assets/javascripts/backbone/plugins/mentions.coffee
@@ -2,7 +2,7 @@
2
# The show_activities addMessage method is the responsible of changing the look of a message body when a user is mentioned
3
class Kandan.Plugins.Mentions
4
@options:
5
- regex: /@\S*/g
+ regex: /\B@\S+/g
6
7
template: _.template '''<span class="mention"><%= mention %></span>'''
8
0 commit comments