diff --git a/pagure/pfmarkdown.py b/pagure/pfmarkdown.py index 9fe6ddf..3d342a5 100644 --- a/pagure/pfmarkdown.py +++ b/pagure/pfmarkdown.py @@ -31,9 +31,16 @@ import pagure.lib from pagure.config import config as pagure_config -MENTION_RE = r'@(\w+)' +# the (?~~foo bar~~

', # '~~foo bar~~ and ~~another ~~', '

foo bar and another

', + # 'lets mention @pingou', + '

lets mention @pingou

', + # '@pingou at start of line', + '

@pingou at start of line

', + # 'but not someone@pingou.com', + '

but not someone@pingou.com

', ] with self.app.application.app_context():