From f72a1d49cfa2e587e1fe129a60a2020622c0124f Mon Sep 17 00:00:00 2001 From: Oj Date: Sun, 7 Mar 2021 13:41:37 +0000 Subject: [PATCH] [Autotag] Remove temporary patch for bug in GM v7.0.0 --- src/autoTag.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/autoTag.js b/src/autoTag.js index d4b6b1c..0ea51f8 100644 --- a/src/autoTag.js +++ b/src/autoTag.js @@ -1,6 +1,5 @@ const basicIncludes = (bundleCode, code, display = (code[0].toUpperCase() + code.substring(1))) => { - // if (bundleCode.includes(code)) return display; - if (bundleCode.includes(code)) return display.toLowerCase(); // We make the actual tag all lowercase for now due to bug in GM v7.0.0 + if (bundleCode.includes(code)) return display; }; export default (bundleCode) => { // Scans final bundle JS to try and auto-detect things, then adding tags