Security issues documented, and more nice improvements

This commit is contained in:
2022-06-10 15:35:31 +00:00
parent f3668df846
commit 93934438c7
21 changed files with 178 additions and 43 deletions

View File

@@ -2,4 +2,9 @@
{{ if .Get 1 }}
{{ $opts = $opts | append (split (.Get 1) ",") }}
{{ end }}
{{ transform.Highlight (htmlUnescape .Inner) (.Get 0) (delimit $opts ",") }}
{{ $content := .Inner }}
{{ $in := split .Inner "\n" }}
{{ if gt (len $in) 1 }}
{{ $content = (delimit (after 1 $in) "\n") }}
{{ end }}
{{ transform.Highlight (htmlUnescape $content) (.Get 0) (delimit $opts ",") }}