diff options
-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 }} |