Gitea would do better to wrap on words when viewing the changes in the PR view. Right now, it breaks up words in the middle, and that makes it harder to read. At the very least, this should be the default for files like Markdown that are more likely to be prose and not program code.
The text was updated successfully, but these errors were encountered:
The intend of the wrap is to avoid long lines without whitespace to not break outside their container, but I think we can improve by using overflow-wrap: anywhere or overflow-wrap: break-word instead of word-wrap: break-all so that it only breaks inside words as last-resort before the container overflows. This is not just diff, but many other places as well.
wolftune commentedDec 2, 2022
•
edited
Gitea would do better to wrap on words when viewing the changes in the PR view. Right now, it breaks up words in the middle, and that makes it harder to read. At the very least, this should be the default for files like Markdown that are more likely to be prose and not program code.
The text was updated successfully, but these errors were encountered: