From ea5cdfac4c7cdc8a2ad41bd2802e4633989df3e7 Mon Sep 17 00:00:00 2001
From: Kyle Taylor <kyletaylored@gmail.com>
Date: Thu, 17 Feb 2022 01:24:59 -0600
Subject: [PATCH] Fix Drupal Multisite

- Remove extraneous DOM detections
- Fix srcScript regex
- Update Acquia Site Factory (implies Drupal Multisite)
---
 src/technologies/a.json |  3 ++-
 src/technologies/d.json | 34 +---------------------------------
 2 files changed, 3 insertions(+), 34 deletions(-)

diff --git a/src/technologies/a.json b/src/technologies/a.json
index ed13c2a55..6eb7edda3 100644
--- a/src/technologies/a.json
+++ b/src/technologies/a.json
@@ -482,7 +482,8 @@
     ],
     "icon": "acquia-site-factory.png",
     "implies": [
-      "Acquia Cloud Platform"
+      "Acquia Cloud Platform",
+      "Drupal Multisite"
     ],
     "saas": true,
     "scriptSrc": [
diff --git a/src/technologies/d.json b/src/technologies/d.json
index 036663019..9afc10343 100644
--- a/src/technologies/d.json
+++ b/src/technologies/d.json
@@ -1190,43 +1190,11 @@
       88
     ],
     "description": "Drupal Multisite enables separate, independent sites to be served from a single codebase.",
-    "dom": {
-      "img[data-src*='sites/all/']": {
-        "attributes": {
-          "data-src": "sites\\/all\\/.*\\/files'"
-        }
-      },
-      "img[data-src*='sites/default/']": {
-        "attributes": {
-          "data-src": "sites\\/default\\/.*\\/files'"
-        }
-      },
-      "img[src*='sites/all/']": {
-        "attributes": {
-          "src": "sites\\/all\\/.*\\/files'"
-        }
-      },
-      "img[src*='sites/default/']": {
-        "attributes": {
-          "src": "sites\\/default\\/.*\\/files'"
-        }
-      },
-      "link[href*='sites/all/']": {
-        "attributes": {
-          "href": "sites\\/all\\/.*\\/files'"
-        }
-      },
-      "link[href*='sites/default/']": {
-        "attributes": {
-          "href": "sites\\/default\\/.*\\/files'"
-        }
-      }
-    },
     "icon": "Drupal.svg",
     "implies": "Drupal",
     "oss": true,
     "scriptSrc": [
-      "sites\\/(?!default|all).*\\/files"
+      "sites\\/(?!.*(default|all))\\/files"
     ],
     "website": "https://www.drupal.org/docs/multisite-drupal"
   },