From 783a9cfb2fc8e93ad8334be77b358e8a35759f82 Mon Sep 17 00:00:00 2001 From: Adam Pash Date: Mon, 28 Nov 2016 12:10:57 -0800 Subject: [PATCH] fix: changed overly liberal regex for removing transparent images --- src/utils/dom/constants.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/dom/constants.js b/src/utils/dom/constants.js index 922eeeb7..76b52068 100644 --- a/src/utils/dom/constants.js +++ b/src/utils/dom/constants.js @@ -1,5 +1,5 @@ // Spacer images to be removed -export const SPACER_RE = new RegExp('trans|transparent|spacer|blank', 'i'); +export const SPACER_RE = new RegExp('transparent|spacer|blank', 'i'); // The class we will use to mark elements we want to keep // but would normally remove