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

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

@rauwebieten

Description

@rauwebieten

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions