mirror of
https://github.com/go-gitea/gitea.git
synced 2025-03-06 23:15:29 +08:00

Behaviour now matches GH. Safeguard added in the for loop because `textContent` may be null in which case it does not make sense to render the copy button. Co-authored-by: silverwind <me@silverwind.io>