From 964968be39f7d70c12c41eb77c51e94e1c2ccd6a Mon Sep 17 00:00:00 2001 From: Paul Twohey Date: Sat, 31 Aug 2019 18:38:16 -0700 Subject: use class="hidden" instead of creating new classes Use class "hidden" instead of styled classes to ensure that input elments stay hidden when the Content-Security-Policy header has "style-src 'self';" --- layouts/shortcodes/expand.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'layouts/shortcodes/expand.html') diff --git a/layouts/shortcodes/expand.html b/layouts/shortcodes/expand.html index d6b7522..4519767 100644 --- a/layouts/shortcodes/expand.html +++ b/layouts/shortcodes/expand.html @@ -4,7 +4,7 @@ {{ default "Expand" (.Get 0) }} {{ default "↕" (.Get 1) }} - +
{{ .Inner | markdownify }}
-- cgit v1.2.3