Files
Gitea/modules
wxiaoguang 8fcbdf05b0 Refactor flash message and remove SanitizeHTML template func (#37179)
1. Fix the "flash message" layout problem for different cases
* I am sure most of the users should have ever seen the ugly
center-aligned error message with multiple lines.
2. Fix inconsistent "Details" flash message EOL handling, sometimes
`\n`, sometimes `<br>`
   * Now, always use "\n" and use `<pre>` to render
3. Remove SanitizeHTML template func because it is not useful and can be
easily abused.
* But it is still kept for mail templates, for example:
https://github.com/go-gitea/gitea/issues/36049
4. Clarify PostProcessCommitMessage's behavior and add FIXME comment

By the way: cleaned up some devtest pages, move embedded style block to
CSS file
2026-04-12 10:17:25 +08:00
..
2026-04-01 11:26:52 +08:00
2026-04-03 20:03:59 +00:00
2025-09-13 18:01:00 +00:00
2026-02-28 11:23:20 -08:00
2026-04-01 11:26:52 +08:00
2022-12-30 23:31:00 +08:00
2026-03-22 15:49:45 +00:00