Skip to content

Commit 2e02d3e

Browse files
committedMar 1, 2013
Revert "Fixed mentions regex to stop matching email addresses"
This reverts commit d526da8.
1 parent 01141bf commit 2e02d3e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎app/assets/javascripts/backbone/plugins/mentions.coffee

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# The show_activities addMessage method is the responsible of changing the look of a message body when a user is mentioned
33
class Kandan.Plugins.Mentions
44
@options:
5-
regex: /\B@\S+/g
5+
regex: /@\S*/g
66

77
template: _.template '''<span class="mention"><%= mention %></span>'''
88

0 commit comments

Comments
 (0)
Please sign in to comment.