mirror of
https://github.com/go-gitea/gitea
synced 2025-01-09 16:15:59 +01:00
74159a8855
Backport #33025 by TheFox0x7 Adds test for expected behavior Closes: https://github.com/go-gitea/gitea/issues/33013 --- Co-authored-by: TheFox0x7 <thefox0x7@gmail.com>
12 lines
169 B
Handlebars
12 lines
169 B
Handlebars
{{.Message}}
|
|
{{if .Details}}
|
|
<details>
|
|
<summary>{{.Summary}}</summary>
|
|
<code>{{.Details | SanitizeHTML}}</code>
|
|
</details>
|
|
{{else}}
|
|
<div>
|
|
{{.Summary}}
|
|
</div>
|
|
{{end}}
|