gitea/routers/web/user
yp05327 22a39bb961
Fix profile render when the README.md size is larger than 1024 bytes (#25131)
Fixes https://github.com/go-gitea/gitea/issues/25094

`GetBlobContent` will only get the first 1024 bytes, if the README.md
size is larger than 1024 bytes,
We can not render the rest of them.
After this fix, we should provide the limited size to read when call
`GetBlobContent`.

After:

![image](https://github.com/go-gitea/gitea/assets/18380374/22a42936-4cf8-40b4-a5c7-e384082beb0d)

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2023-06-13 09:02:25 +00:00
..
setting Clean up WebAuthn javascript code and remove JQuery code (#22697) 2023-06-06 13:29:37 +08:00
avatar.go Set `X-Gitea-Debug` header once (#23361) 2023-03-08 15:40:04 -05:00
code.go Add missing tabs to org projects page (#22705) 2023-03-10 09:18:20 -06:00
home.go Some refactors for issues stats (#24793) 2023-05-19 22:17:48 +08:00
home_test.go Add a simple test for external renderer (#20033) 2022-12-12 20:45:21 +08:00
main_test.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
notification.go Fix pagination on `/notifications/watching` (#23564) 2023-03-20 21:07:14 -04:00
package.go Add Alpine package registry (#23714) 2023-05-12 17:27:50 +00:00
profile.go Fix profile render when the README.md size is larger than 1024 bytes (#25131) 2023-06-13 09:02:25 +00:00
search.go Add option to search for users is active join a team (#24093) 2023-04-14 14:48:36 -04:00
stop_watch.go Move `convert` package to services (#22264) 2022-12-29 10:57:15 +08:00
task.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00