forgejo/web_src/js/markup
Giteabot c148156409
Strip trailing newline in markdown code copy (#29019) (#29022)
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>
(cherry picked from commit 5d1abdce3e)
2024-02-13 14:17:07 +01:00
..
anchors.js
asciicast.js
codecopy.js Strip trailing newline in markdown code copy (#29019) (#29022) 2024-02-13 14:17:07 +01:00
common.js
content.js
math.js Change katex limits (#27823) (#27868) 2023-11-01 22:26:45 +01:00
mermaid.js
tasklist.js