diff --git a/wptt-webfont-loader.php b/wptt-webfont-loader.php index b5c5960..f7c423b 100644 --- a/wptt-webfont-loader.php +++ b/wptt-webfont-loader.php @@ -419,6 +419,7 @@ public function get_remote_files_from_css() { // Add the file URL. $font_family_url = rtrim( ltrim( $match[0], 'url(' ), ')' ); + $font_family_url = str_replace( '"', '', $font_family_url ); // Make sure to convert relative URLs to absolute. $font_family_url = $this->get_absolute_path( $font_family_url );