Skip to content

Commit 46deda4

Browse files
authored
Update routers/web/repo/pull.go
1 parent 6e1c072 commit 46deda4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

routers/web/repo/pull.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1043,7 +1043,7 @@ func CompareAndPullRequestPost(ctx *context.Context) {
10431043

10441044
if len(form.Title) > 255 {
10451045
form.Content = "…" + form.Title[254:] + "\n\n" + form.Content
1046-
form.Title = form.Title[:252] + "..."
1046+
form.Title = form.Title[:254] + ""
10471047
}
10481048
middleware.AssignForm(form, ctx.Data)
10491049

0 commit comments

Comments
 (0)