Skip to content
This repository has been archived by the owner on Sep 28, 2018. It is now read-only.

CSS compiler fails finding correct path of certain font files #1

Open
rauwebieten opened this issue Oct 5, 2017 · 0 comments
Open

Comments

@rauwebieten
Copy link

Using font-awesome, I noticed the relative font paths were not converted to the new path.

Example URL:
url(../fonts/fontawesome-webfont.svg?v=4.7.0#fontawesomeregular)
The real path of this file is not found, so $css_asset_path is empty, and conversion has not taken place.

The query string in the URL (?v=...) makes it fail. The code should first strip all query-string and url-hash, before trying to find the real path.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant