aboutsummaryrefslogtreecommitdiff
path: root/themes
diff options
context:
space:
mode:
authortdro <tdro@noreply.example.com>2022-11-16 11:32:06 -0500
committertdro <tdro@noreply.example.com>2022-11-16 11:32:06 -0500
commit9dd073b7ccac09d813abad9f9ae795547d1b8235 (patch)
tree1c69f4c7fd5cdfd579b46dec5b213bb7faa280ee /themes
parentad375df7a86aa0733946d1bf35157e14e8d4301e (diff)
downloadcanory-9dd073b7ccac09d813abad9f9ae795547d1b8235.tar.gz
canory-9dd073b7ccac09d813abad9f9ae795547d1b8235.tar.bz2
canory-9dd073b7ccac09d813abad9f9ae795547d1b8235.zip
themes/default/layouts/partials/function-content: Add inline modifier
To match blockquotes accross multiple lines. Normalize blockquote font size.
Diffstat (limited to 'themes')
-rw-r--r--themes/default/layouts/partials/function-content.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/themes/default/layouts/partials/function-content.html b/themes/default/layouts/partials/function-content.html
index 65ed4aa..256d7e0 100644
--- a/themes/default/layouts/partials/function-content.html
+++ b/themes/default/layouts/partials/function-content.html
@@ -10,7 +10,7 @@
replaceRE "</figure></p>" "</figure>" |
-}}
-{{- $blockquoteFooters := findRE `</blockquote>\n<p>(&ndash;|&mdash;).*</p>` .Content -}}
+{{- $blockquoteFooters := findRE `(?s)</blockquote>\n<p>(&ndash;|&mdash;).*</p>` .Content -}}
{{- range $blockquoteFooter := $blockquoteFooters -}}