summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUrban Müller2019-02-19 17:54:55 +0100
committerUrban Müller2019-02-19 17:54:55 +0100
commitd4ecb97b375b9b2ab7a1185d376da40778606f8d (patch)
treed61020645eaab9ad7855cecfbf9c34a8fac2d45b
parent9f4b7a4988470297dae630cc7ade34f033fc56cb (diff)
downloaditools-d4ecb97b375b9b2ab7a1185d376da40778606f8d.tar.gz
itools-d4ecb97b375b9b2ab7a1185d376da40778606f8d.tar.bz2
itools-d4ecb97b375b9b2ab7a1185d376da40778606f8d.zip
allow svg-only style sheets
-rw-r--r--itjs.class2
1 files changed, 1 insertions, 1 deletions
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);