We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 01141bf commit 2e02d3eCopy full SHA for 2e02d3e
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: /\B@\S+/g
+ regex: /@\S*/g
6
7
template: _.template '''<span class="mention"><%= mention %></span>'''
8
0 commit comments