From d4ecb97b375b9b2ab7a1185d376da40778606f8d Mon Sep 17 00:00:00 2001 From: Urban Müller Date: Tue, 19 Feb 2019 17:54:55 +0100 Subject: allow svg-only style sheets --- itjs.class | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'itjs.class') diff --git a/itjs.class b/itjs.class index 338e91e..85d5d11 100644 --- a/itjs.class +++ b/itjs.class @@ -152,7 +152,7 @@ static function filecontents($filenames) foreach ($filenames as $filename) { ob_start(); # Needs to capture inside loop to guarantee file order - if (!($_GET['w3c'] && it::match('jquery-ui.css|owl.carousel.css|mobiscroll.custom|hopscotch.css|leaflet.css', $filename))) # BLACKLIST + if (!($_GET['w3c'] && it::match('jquery-ui.css|owl.carousel.css|mobiscroll.custom|hopscotch.css|leaflet.css|-svg.css', $filename))) # BLACKLIST { $origget = $_GET; list($filename, $paramstr) = explode("?", $filename); -- cgit v1.2.3