mirror of
https://github.com/go-gitea/gitea.git
synced 2025-03-06 16:27:34 +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>