diff options
author | Geri Ochoa <gerino@google.com> | 2022-11-08 19:34:43 +0300 |
---|---|---|
committer | Geri Ochoa <gerino@protonmail.com> | 2022-11-11 19:51:06 +0300 |
commit | 246a2e1e80ce19b7f08d5820518882d59013429b (patch) | |
tree | b208ce81f264a71f379b08a04b3b353351767cb5 | |
parent | 90ee4810a7c07c1ac8f6baab41bb0b10585d408d (diff) |
-rw-r--r-- | layouts/shortcodes/readfile.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/shortcodes/readfile.html b/layouts/shortcodes/readfile.html index 7d27caa..ce05aef 100644 --- a/layouts/shortcodes/readfile.html +++ b/layouts/shortcodes/readfile.html @@ -32,7 +32,7 @@ if the file is not found */}} {{- highlight ($.Scratch.Get "filepath" | readFile | htmlUnescape | safeHTML ) (.Get "lang") "" -}} {{ else }} - {{- $.Scratch.Get "filepath" | os.ReadFile | .Page.RenderString | htmlUnescape | safeHTML -}} + {{- $.Scratch.Get "filepath" | os.ReadFile | .Page.RenderString | safeHTML -}} {{ end }} {{ else }} |