mirror of
https://github.com/go-gitea/gitea
synced 2025-02-22 06:29:39 +01:00

Str2html was abused a lot. So use a proper name for it: SanitizeHTML And add some tests to show its behavior.
8 lines
114 B
Handlebars
8 lines
114 B
Handlebars
{{.Message}}
|
|
<details>
|
|
<summary>{{.Summary}}</summary>
|
|
<code>
|
|
{{.Details | SanitizeHTML}}
|
|
</code>
|
|
</details>
|