Skip to content

CSS relative and absolute paths #11

@Janhouse

Description

@Janhouse

Hi!

It seems like granule changes paths in CSS files even if they start with "/" but it should not happen.
If I try to use absolute path without the domain name in CSS (located at /module/_ui/desktop/themes/file.css) like this:

background-image: url('/module/_ui/desktop/themes/images/someimage.jpg');

granule adds the relative path and the line ends up like this:

background-image: url('_ui/desktop/themes/module/_ui/desktop/themes/images/someimage.jpg');

Is there possibly some undocumented feature that fixes this?

Best regards,
Janis

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions