Excessive breaks in readme.txt#915

Closed
opened 2023-01-30 00:12:57 +01:00 by ghjardim · 6 comments

I recently made a repo with a plain-text README.txt file in it: https://codeberg.org/ghjardim/recfla.sh.

But I noticed that there's so much space between the lines. By checking the HTML code generated, it seems that there are a <br/> tag after every line.

That much spacing makes the README file very difficult to read.

I recently made a repo with a plain-text README.txt file in it: https://codeberg.org/ghjardim/recfla.sh. But I noticed that there's so much space between the lines. By checking the HTML code generated, it seems that there are a `<br/>` tag after every line. That much spacing makes the README file very difficult to read.
Member

I thought remembered seeing another issue about this, but I can't seem to find it now.

Anyhow, definitely shouldn't be adding all those <br>s inside a <pre> 🤦‍♀️

I thought remembered seeing another issue about this, but I can't seem to find it now. Anyhow, definitely shouldn't be adding all those `<br>`s inside a `<pre>` 🤦‍♀️
Author

I also couldn't find another issue on this, neither here nor in the Gitea repo.

I also couldn't find another issue on this, neither here nor in the Gitea repo.
Member

I have a fix, I just haven't committed it yet.

I have a fix, I just haven't committed it yet.
Member
[pull request](https://github.com/go-gitea/gitea/pull/22699), [backport](https://github.com/go-gitea/gitea/pull/22701)
Member
[bp merged](https://github.com/go-gitea/gitea/pull/22701)
Member

Fixed in Forgejo 1.18.3-0

Fixed in Forgejo 1.18.3-0
fnetX closed this issue 2023-02-12 15:18:49 +01:00
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#915
No description provided.