If I understand this pull-request correctly, this would avoid this jinja filter: http://209.132.184.222/pagure/blob/master/pagure/ui/filters.py#_192
as well as simplify the markdown one: http://209.132.184.222/pagure/blob/master/pagure/ui/filters.py#_222
Is that correct?
We'll have to be careful with this, project have a global identifier so that one can do:
this works well but means that just looking at #X won't tell us if X is an issue or a pull-request
Note: the current approach is facing the same issue so that's not specific to your patch.
Updated here to play nice with those jinja filters.
Also, made pfmarkdown database aware so that only real users and real issues get turned into links.
One more fix needed in the _formhelper.html template.
_formhelper.html
Can you do it or do you want me to?
Commit 0e685e80 fixes this pull-request
Pull-Request has been merged by rbean@redhat.com