Description
Description
When a new Gitea instance is recently created, the first issue created and its, eventually, first comment (for example when the first instance comment goes to the first instance issue) shares the same internal ID, then the HTML created to that issue keeps a duplicated html ID for both objects.
this hidden element id collisionate with the id of this another hidden element generated here. The former is the raw content of the issue and the latter the raw content of the comment. This situation only occurs if both the issue and the comment internal ID shares the same page. In others words, if a comment shares the same internal ID with their issue, situation common with new issues over new instances.
Screenshots
Gitea Version
1.19.0+dev-112-g6fb168141
Can you reproduce the bug on the Gitea demo site?
No
Operating System
No response
Browser Version
Firefox 107.0