Folder README file gets filled with garbage HTML code #796

Open
opened 2 weeks ago by deterenkelt · 1 comments

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 =

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

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.
Gusted added the
bug
s/Gitea
labels 2 weeks ago
Gusted self-assigned this 2 weeks ago
Collaborator

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
fnetX added the
upstream
label 2 weeks ago
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date

No due date set.

Dependencies

No dependencies set.

Reference: Codeberg/Community#796
Loading…
There is no content yet.