From cb2aa93e083b4f59b52586afeaf47a1b5802a3e2 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Tue, 3 Apr 2018 21:11:31 +0000 Subject: Added security to the page template Signed-off-by: Valentin Popov --- _layouts/page.html | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to '_layouts/page.html') diff --git a/_layouts/page.html b/_layouts/page.html index 1a0cca5..67ac0c6 100644 --- a/_layouts/page.html +++ b/_layouts/page.html @@ -2,8 +2,12 @@ layout: default --- -
-

{{ page.title }}

- {{ content }} + +

+ {{ page.title | smartify | strip_html | normalize_whitespace }} +

+ + + {{ content | normalize_whitespace }}
-- cgit v1.2.3