From c15134e46005587d3428a84a22db6527d4ddfe98 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?O=CC=81scar=20M=2E=20Lage?= Date: Mon, 28 Feb 2022 22:20:50 +0100 Subject: [PATCH] Fix: Remove html tags in excerpt --- src/themes/oscar/layouts/_default/summary.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/themes/oscar/layouts/_default/summary.html b/src/themes/oscar/layouts/_default/summary.html index 727b0df..4acc35b 100644 --- a/src/themes/oscar/layouts/_default/summary.html +++ b/src/themes/oscar/layouts/_default/summary.html @@ -3,7 +3,7 @@

{{ .Title }}

- {{ if isset .Params "summary" }}{{ .Params.Summary | markdownify }}{{ else }}{{ .Summary }}{{ end }} + {{ if isset .Params "summary" }}{{ .Params.Summary | markdownify }}{{ else }}{{ .Summary | plainify | htmlUnescape }}{{ end }}

- \ No newline at end of file +