diff options
author | Zachary Betz <zwbetz@gmail.com> | 2018-12-31 22:36:27 +0300 |
---|---|---|
committer | Zachary Betz <zwbetz@gmail.com> | 2018-12-31 22:36:27 +0300 |
commit | 6aa288f491c8b3f24e5ef24c4bc1f4b41a48917b (patch) | |
tree | b37358ee429418121a1de63050084170f4430280 /layouts | |
parent | 0f1ef8d77257475e9e1829d1fedbff3985e9da26 (diff) |
Fix blockquote html
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/shortcodes/bootstrap-blockquote.html | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/layouts/shortcodes/bootstrap-blockquote.html b/layouts/shortcodes/bootstrap-blockquote.html index 7f54218..1ed9174 100644 --- a/layouts/shortcodes/bootstrap-blockquote.html +++ b/layouts/shortcodes/bootstrap-blockquote.html @@ -1,6 +1,7 @@ {{ $quote := .Inner }} {{ $quote = replace $quote "<p>" "" }} {{ $quote = replace $quote "</p>" "" }} +{{ $quote = safeHTML $quote }} <blockquote class="blockquote"> <p class="mb-0">{{ $quote }}</p> {{ with (.Get "author") }} |