diff options
author | tdro <tdro@noreply.example.com> | 2022-11-16 11:32:06 -0500 |
---|---|---|
committer | tdro <tdro@noreply.example.com> | 2022-11-16 11:32:06 -0500 |
commit | 9dd073b7ccac09d813abad9f9ae795547d1b8235 (patch) | |
tree | 1c69f4c7fd5cdfd579b46dec5b213bb7faa280ee /themes | |
parent | ad375df7a86aa0733946d1bf35157e14e8d4301e (diff) | |
download | canory-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.html | 2 |
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>(–|—).*</p>` .Content -}} +{{- $blockquoteFooters := findRE `(?s)</blockquote>\n<p>(–|—).*</p>` .Content -}} {{- range $blockquoteFooter := $blockquoteFooters -}} |