#2987 Issue or PR number at start of line shouldn't be treated as a heading
Closed: Fixed 6 years ago Opened 6 years ago by adamwill.

In Markdown syntax, a # at the start of a line indicates a section heading. However, for Pagure, something like #345 is meant to be a link to issue #345.

If you type #345 at the start of a line in Pagure, it's treated as a section heading, like so:

#345

Not as a link to issue #345, as it is if you just type it in the middle of a line, like that. I think that someone typing a number sign followed by some digits at the start of a line in an issue tracker is much more likely to be referring to an issue or pull request than they are trying to write a header line, so we should assume it's the former, not the latter.


I've faced this one before and it is going to be quite hard to fix and will require quite a dive into markdown :(

Metadata Update from @pingou:
- Issue tagged with: RFE, wishful

6 years ago

Login to comment on this ticket.

Metadata