mirror of
https://github.com/go-gitea/gitea
synced 2024-12-15 16:34:03 +01:00
fb42972c05
Str2html was abused a lot. So use a proper name for it: SanitizeHTML And add some tests to show its behavior.
7 lines
114 B
Handlebars
7 lines
114 B
Handlebars
{{.Message}}
|
|
<details>
|
|
<summary>{{.Summary}}</summary>
|
|
<code>
|
|
{{.Details | SanitizeHTML}}
|
|
</code>
|
|
</details>
|