From f12c5c9fedd99b68143a45436a6692934f95e5df Mon Sep 17 00:00:00 2001 From: Oscar Date: Fri, 17 Jan 2020 08:53:48 +0100 Subject: [PATCH] fix(flags): convert flag level to lowercase before trying to get infos --- .eleventy.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.eleventy.js b/.eleventy.js index 2d48930e..432eee9b 100644 --- a/.eleventy.js +++ b/.eleventy.js @@ -66,7 +66,7 @@ module.exports = function(config) { ]); if (flag) { - const info = cleanText.get(flag.level); + const info = cleanText.get(flag.level.toLowerCase()); const sep = flag.text && info.text ? '—' : ''; const text = flag.text ? [info.text, flag.text].join(sep) : info.text;