From 5c76d8dad9d993010c4e57c6de4e90911a3cd11a Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Fri, 05 Aug 2022 18:08:52 +0000
Subject: [PATCH] fix: make callout detection case-insensitive (closes #171)

---
 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