From 4797364a04dcf733a98b91bf5e21c396bd955604 Mon Sep 17 00:00:00 2001 From: Derek Bourgeois Date: Mon, 15 Feb 2016 10:37:56 -0500 Subject: [PATCH] Update AssetList.php Allow .otf and .woff2 font formats by default. These file types are included in popular packages such as Bootstrap and Font Awesome. --- modules/cms/widgets/AssetList.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/cms/widgets/AssetList.php b/modules/cms/widgets/AssetList.php index 70f3b871c..57167a7c2 100644 --- a/modules/cms/widgets/AssetList.php +++ b/modules/cms/widgets/AssetList.php @@ -61,9 +61,11 @@ class AssetList extends WidgetBase 'css', 'js', 'woff', + 'woff2', 'svg', 'ttf', 'eot', + 'otf', 'json', 'md', 'less',