Trim spaces, tabs from code end

This commit is contained in:
Will Faught
2024-07-20 17:47:48 -07:00
parent b5b0564e96
commit 972356e7aa

View File

@@ -1,4 +1,4 @@
{{ $content := trim .InnerDeindent "\f\n\r\v" }}
{{ $content := .InnerDeindent | strings.TrimLeft "\f\n\r\v" | strings.TrimRight "\f\n\r\t\v " }}
{{ $lang := .Get 0 | default (.Get "lang") | default "plaintext" }}
{{ $options := .Get "options" }}