SHA in merged commit comment should be rendered ui sha (#15376)
SHA in merged commit comment should be rendered ui sha (#15376)

* SHA in merged commit comment should be rendered ui sha

On a PR page the sha of the merge commit should be rendered in monospace
as a SHA. Also fixes an issue with the manually merged string.

Fix #15049

Signed-off-by: Andrew Thornton <6a547fdd28db89120bdd70d4af1f9ba672ccd43a@cantab.net>

* issues.force_push_codes needs this too.

Signed-off-by: Andrew Thornton <6a547fdd28db89120bdd70d4af1f9ba672ccd43a@cantab.net>

Co-authored-by: techknowlogick <274271a2414b6bd0d2eb0401dd4ff6e85d7016a7@gitea.io>
go-gitea/gitea,cez81/gitea,go-gitea/gitea,cez81/gitea,vdbt/gitea,cez81/gitea,go-gitea/gitea,vdbt/gitea