From e38eaa94d6d0d91486bd3b778102658a36ee254f Mon Sep 17 00:00:00 2001
From: Vincent Huang <vincenthuang75025@yahoo.com>
Date: Sun, 21 Aug 2022 01:31:06 +0000
Subject: [PATCH] Popover preview should show relevant heading (#180)

---
 layouts/partials/textprocessing.html |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/layouts/partials/textprocessing.html b/layouts/partials/textprocessing.html
index f6e89f7..1cb2583 100644
--- a/layouts/partials/textprocessing.html
+++ b/layouts/partials/textprocessing.html
@@ -75,7 +75,7 @@
       {{ else}}
         {{ $inner = $inner | replaceRE `\[!([a-zA-Z]+)\]` `${1}` }}
       {{ end }}
-      {{ $inner = printf "blockquote class=\"%s-callout\"" $inner}}
+      {{ $inner = printf "blockquote class=\"%s-callout\"" $inner | lower}}
       {{ $content = replace $content . $inner 1}}
       {{ $counter1 = add $counter1 1 }}
     {{ else }}

--
Gitblit v1.10.0