Skip to content

allow_network=False prevents loading of local stylesheets #268

@evanwall-carta

Description

@evanwall-carta

If Premailer is initialized with allow_network=False then it will not be able to load local stylesheets.
The following will be ignored by Premailer:

<link rel="stylesheet" href="email/base/base.css">

The root cause of this bug is probably here:

cssselector.append("link[rel~=stylesheet]")

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