Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
wxiaoguang committed Nov 16, 2024
1 parent ebd88a5 commit f0e0a63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/markup/html.go
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ func RenderCommitMessageSubject(
return "", err
}
if defaultLink != "" {
rendered = fmt.Sprintf(`<a href="%s" class="muted">%s</a>`, template.HTMLEscapeString(defaultLink), rendered)
rendered = fmt.Sprintf(`<a class="muted" href="%s">%s</a>`, template.HTMLEscapeString(defaultLink), rendered)
}
return rendered, nil
}
Expand Down

0 comments on commit f0e0a63

Please sign in to comment.