mirror of
https://github.com/flarum/framework.git
synced 2024-11-25 17:57:04 +08:00
Don't parse user mentions with a # ahead of them
This commit is contained in:
parent
2101250eaa
commit
4080a76a99
|
@ -2,5 +2,5 @@
|
|||
|
||||
class UserMentionsParser extends MentionsParserAbstract
|
||||
{
|
||||
protected $pattern = '/\B@(?P<username>[a-z0-9_-]+)/i';
|
||||
protected $pattern = '/\B@(?P<username>[a-z0-9_-]+)\b/i';
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user