Open
Description
Gitea Version
1.16.0+dev-455-ga5bcf1994
Git Version
No response
Operating System
No response
How are you running Gitea?
Tried in https://try.gitea.io/plgruener/wikitest/wiki/_pages
Database
No response
Can you reproduce the bug on the Gitea demo site?
Yes
Log Gist
No response
Description
Any wiki page that is created in the webeditor (wiki/_new) is stored as file with (Windows-style) CRLF line endings, not LF (Unix-style).
This also means every wiki-page that is created locally with LF line endings (eg under Linux or MacOS) and then pushed is silently converted to CRLF, either on push itself or when that page is edited in the webeditor by another person. Since that LF->CRLF conversion changes every line, it makes a diff essentially useless.
Screenshots
No response