aboutsummaryrefslogtreecommitdiffstats
path: root/modules/markup/html.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/markup/html.go')
-rw-r--r--modules/markup/html.go14
1 files changed, 7 insertions, 7 deletions
diff --git a/modules/markup/html.go b/modules/markup/html.go
index f4c5d97480..e016b67d0c 100644
--- a/modules/markup/html.go
+++ b/modules/markup/html.go
@@ -152,15 +152,15 @@ func (p *postProcessError) Error() string {
type processor func(ctx *postProcessCtx, node *html.Node)
var defaultProcessors = []processor{
- mentionProcessor,
- shortLinkProcessor,
fullIssuePatternProcessor,
+ fullSha1PatternProcessor,
+ shortLinkProcessor,
+ linkProcessor,
+ mentionProcessor,
issueIndexPatternProcessor,
crossReferenceIssueIndexPatternProcessor,
- fullSha1PatternProcessor,
sha1CurrentPatternProcessor,
emailAddressProcessor,
- linkProcessor,
}
type postProcessCtx struct {
@@ -194,14 +194,14 @@ func PostProcess(
}
var commitMessageProcessors = []processor{
- mentionProcessor,
fullIssuePatternProcessor,
+ fullSha1PatternProcessor,
+ linkProcessor,
+ mentionProcessor,
issueIndexPatternProcessor,
crossReferenceIssueIndexPatternProcessor,
- fullSha1PatternProcessor,
sha1CurrentPatternProcessor,
emailAddressProcessor,
- linkProcessor,
}
// RenderCommitMessage will use the same logic as PostProcess, but will disable