We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d09fca3 commit 5d35578Copy full SHA for 5d35578
modules/markdown/markdown.go
@@ -93,7 +93,7 @@ var (
93
// Sha1CurrentPattern matches string that represents a commit SHA, e.g. d8a994ef243349f321568f9e36d5c3f444b99cae
94
// FIXME: this pattern matches pure numbers as well, right now we do a hack to check in RenderSha1CurrentPattern
95
// by converting string to a number.
96
- Sha1CurrentPattern = regexp.MustCompile(`\b[0-9a-f]{7,40}\b`)
+ Sha1CurrentPattern = regexp.MustCompile(`\b[0-9a-f]{40}\b`)
97
)
98
99
// FindAllMentions matches mention patterns in given content
0 commit comments