Folder README file gets filled with garbage HTML code #796

Closed
opened 2022-11-14 23:17:57 +01:00 by deterenkelt · 2 comments
Image

I sometimes revisit the state of files here, how they are rendered that is, and this time I found a README file in a repository folder having some HTML code injected by Gitea.

Raw =

Image

How it’s rendered when clicking on the folder, that contains it =

Image

As you can see, in the raw view everything is neatly and as it should be. Gitea thinks there has to be some non-renderable HTML in the plain text file for some reason.

I sometimes revisit the state of files here, how they are rendered that is, and this time I found a README file in a repository folder having some HTML code injected by Gitea. [Raw](https://codeberg.org/deterenkelt/Nadeshiko/raw/branch/master/defconf/README) = <blockquote> <img src="https://codeberg.org/attachments/f9e1aba6-9914-489d-be1b-6a64e0c7d2f6"/> </blockquote> How it’s rendered when clicking on [the folder, that contains it](https://codeberg.org/deterenkelt/Nadeshiko/src/branch/master/defconf) = <blockquote> <img src="https://codeberg.org/attachments/6c209629-b204-4ced-a5f7-826e48409f70"/> </blockquote> As you can see, in the raw view everything is neatly and as it should be. Gitea thinks there has to be some non-renderable HTML *in the plain text file* for some reason.
Image Gusted self-assigned this 2022-11-14 23:32:18 +01:00
Image
Owner

Currently open PR over at Gitea https://github.com/go-gitea/gitea/pull/21841

Currently open PR over at Gitea https://github.com/go-gitea/gitea/pull/21841
Image
Owner

This will be fixed when Codeberg updates Forgejo (soft-fork of Gitea) which will hopefully be in the next few days.

This will be fixed when Codeberg updates Forgejo (soft-fork of Gitea) which will hopefully be in the next few days.
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Codeberg/Community#796
No description provided.