@@ -152,15 +152,15 @@ func (p *postProcessError) Error() string {
152152type processor func (ctx * postProcessCtx , node * html.Node )
153153
154154var defaultProcessors = []processor {
155- mentionProcessor ,
156- shortLinkProcessor ,
157155 fullIssuePatternProcessor ,
156+ fullSha1PatternProcessor ,
157+ shortLinkProcessor ,
158+ linkProcessor ,
159+ mentionProcessor ,
158160 issueIndexPatternProcessor ,
159161 crossReferenceIssueIndexPatternProcessor ,
160- fullSha1PatternProcessor ,
161162 sha1CurrentPatternProcessor ,
162163 emailAddressProcessor ,
163- linkProcessor ,
164164}
165165
166166type postProcessCtx struct {
@@ -194,14 +194,14 @@ func PostProcess(
194194}
195195
196196var commitMessageProcessors = []processor {
197- mentionProcessor ,
198197 fullIssuePatternProcessor ,
198+ fullSha1PatternProcessor ,
199+ linkProcessor ,
200+ mentionProcessor ,
199201 issueIndexPatternProcessor ,
200202 crossReferenceIssueIndexPatternProcessor ,
201- fullSha1PatternProcessor ,
202203 sha1CurrentPatternProcessor ,
203204 emailAddressProcessor ,
204- linkProcessor ,
205205}
206206
207207// RenderCommitMessage will use the same logic as PostProcess, but will disable
0 commit comments