Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Strip trailing newline in markdown code copy (go-gitea#29019)
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.
- Loading branch information