Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/zwbetz-gh/vanilla-bootstrap-hugo-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZachary Betz <zwbetz@gmail.com>2018-12-31 22:36:27 +0300
committerZachary Betz <zwbetz@gmail.com>2018-12-31 22:36:27 +0300
commit6aa288f491c8b3f24e5ef24c4bc1f4b41a48917b (patch)
treeb37358ee429418121a1de63050084170f4430280 /layouts
parent0f1ef8d77257475e9e1829d1fedbff3985e9da26 (diff)
Fix blockquote html
Diffstat (limited to 'layouts')
-rw-r--r--layouts/shortcodes/bootstrap-blockquote.html1
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") }}