From a5b00ba06bea0971c3de5c533398ae159671eb1e Mon Sep 17 00:00:00 2001 From: Oj Date: Wed, 17 Feb 2021 18:10:41 +0000 Subject: [PATCH] [Autotag] Make tags all lowercase for now due to bug in GM v7.0.0 --- src/autoTag.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/autoTag.js b/src/autoTag.js index b428ee1..8c40c6c 100644 --- a/src/autoTag.js +++ b/src/autoTag.js @@ -1,5 +1,6 @@ const basicIncludes = (bundleCode, code, display = (code[0].toUpperCase() + code.substring(1))) => { - if (bundleCode.includes(code)) return display; + // if (bundleCode.includes(code)) return display; + if (bundleCode.includes(code)) return display.toLowerCase(); // We make the actual tag all lowercase now due to bug in GM v7.0.0 }; export default (bundleCode) => { // Scans final bundle JS to try and auto-detect things, then adding tags