mirror of https://github.com/go-gitea/gitea
Strip trailing newline in markdown code copy (#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.pull/29015/head^2
parent
c3e462921e
commit
b71850ea73
Loading…
Reference in new issue