From 672f3d55f17c746a4b16b8cc1170d3cc4114d333 Mon Sep 17 00:00:00 2001 From: Elbert Alias <77259+AliasIO@users.noreply.github.com> Date: Wed, 9 Feb 2022 11:23:00 +1100 Subject: [PATCH] Update d.json --- src/technologies/d.json | 38 ++++++++++++++++++++++++++++++++------ 1 file changed, 32 insertions(+), 6 deletions(-) diff --git a/src/technologies/d.json b/src/technologies/d.json index 11ce3d7fc..825cb958c 100644 --- a/src/technologies/d.json +++ b/src/technologies/d.json @@ -1190,11 +1190,37 @@ 88 ], "description": "Drupal Multisite enables separate, independent sites to be served from a single codebase.", - "html": [ - "script[src*='sites\\/(?!default|all).*\\/files']", - "img[src*='sites\\/(?!default|all).*\\/files']", - "img[data-src*='sites\\/(?!default|all).*\\/files']", - "link[href*='sites\\/(?!default|all).*\\/files']" + "dom": { + "img[src*='sites/default/']": { + "attributes": { + "src": "sites\\/default\\/.*\\/files'" + } + }, + "img[src*='sites/all/']": { + "attributes": { + "src": "sites\\/all\\/.*\\/files'" + } + }, + "img[data-src*='sites/default/']": { + "attributes": { + "data-src": "sites\\/default\\/.*\\/files'" + } + }, + "img[data-src*='sites/all/']": { + "attributes": { + "data-src": "sites\\/all\\/.*\\/files'" + } + }, + "link[href*='sites/default/']": { + "attributes": { + "href": "sites\\/default\\/.*\\/files'" + } + }, + "link[href*='sites/all/']": { + "attributes": { + "href": "sites\\/all\\/.*\\/files'" + } + } ], "icon": "Drupal.svg", "implies": "Drupal", @@ -1345,4 +1371,4 @@ "scriptSrc": "deepMiner\\.js", "website": "https://github.com/deepwn/deepMiner" } -} \ No newline at end of file +}