Files
Gitea/routers/web/repo
silverwind 2e00b2f0bb Fix no-content message not rendering after comment edit (#36733)
When non-empty comment content edited is deleted, it would render a
empty comment body:

<img width="355" height="85" alt="image"
src="https://github.com/user-attachments/assets/3ab9d241-2668-435d-a584-afda2a5b7586"
/>

Fix it so it renders the same placeholder HTML that the server sends for
empty content before edits:

<img width="356" height="109" alt="image"
src="https://github.com/user-attachments/assets/3b54ccde-f7ec-466d-a887-418f4a906d05"
/>
2026-02-27 22:23:21 +00:00
..
2026-02-27 12:38:44 +00:00
2026-02-22 08:01:43 +01:00
2026-02-13 00:15:46 +00:00
2026-01-31 22:01:08 -08:00
2025-02-16 22:13:17 -08:00
2026-02-06 13:12:05 +00:00
2025-02-16 22:13:17 -08:00
2026-02-27 12:38:44 +00:00
2026-02-27 12:38:44 +00:00
2026-02-27 12:38:44 +00:00
2026-02-27 12:38:44 +00:00
2025-03-13 11:07:48 +08:00
2026-02-27 12:38:44 +00:00