Skip to content

Links for commit hashes ending in comma are not rendered #14223

Closed
@nuno-silva

Description

@nuno-silva

Description

When leaving an issue comment containing valid commit hashes, those are not recognised if they are followed by a comma (,).
A workaround is to leave a space between the hash and the comma, but you need to remember to do it when writing the comment or go back and edit it after noticing the commit link was not rendered.
Dots are accepted though. See the screenshot for reference.

Unless there was a specific reason for not accepting commas, this is an easy fix.
I will prepare a pull request in a bit.

Screenshots

raw text rendered text

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions