diff --git a/src/main/twirl/gitbucket/core/issues/commentlist.scala.html b/src/main/twirl/gitbucket/core/issues/commentlist.scala.html index bed5ea8..dcfa16c 100644 --- a/src/main/twirl/gitbucket/core/issues/commentlist.scala.html +++ b/src/main/twirl/gitbucket/core/issues/commentlist.scala.html @@ -46,11 +46,11 @@ } -
+
@if(comment.action == "commit" && comment.content.split(" ").last.matches("[a-f0-9]{40}")){ @defining(comment.content.substring(comment.content.length - 40)){ id => -
@markdown(comment.content.substring(0, comment.content.length - 41), repository, false, true, true, hasWritePermission)
+ @markdown(comment.content.substring(0, comment.content.length - 41), repository, false, true, true, hasWritePermission) } } else { @if(comment.action == "refer"){ @@ -58,7 +58,7 @@ @issueLink(repository, issueId.toInt): @rest.mkString(":") } } else { -
@markdown(comment.content, repository, false, true, true, hasWritePermission)
+ @markdown(comment.content, repository, false, true, true, hasWritePermission) } }