Browse Source

Fix mention notification is not sent when user pattern is leading by some punctuation marks like ! or ? (39553).

Patch by Thomas Löber.

git-svn-id: https://svn.redmine.org/redmine/branches/5.0-stable@22441 e93f8b46-1217-0410-a6f0-8f06a7374b81
tags/5.0.7
Marius Balteanu 7 months ago
parent
commit
8eb9c38565
1 changed files with 3 additions and 1 deletions
  1. 3
    1
      lib/redmine/acts/mentionable.rb

+ 3
- 1
lib/redmine/acts/mentionable.rb View File

@@ -103,7 +103,9 @@ module Redmine
\s|
\]|
<|
$)
[[:punct:]]?
$
)
/ix
end
end

Loading…
Cancel
Save