You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
Here is an example of the bug: if you do "Quote reply" to the linked comment (2nd in the list), you will got the text of the issue itself (first comment in the list) as quote in the editor.
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
The text was updated successfully, but these errors were encountered: