forked from mirror/gitea
fb42972c05
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
Go HTML Template
8 lines
114 B
Go HTML Template
{{.Message}}
|
|
<details>
|
|
<summary>{{.Summary}}</summary>
|
|
<code>
|
|
{{.Details | SanitizeHTML}}
|
|
</code>
|
|
</details>
|