Skip to content

"unable to resolve template" error due to wrong seperator on filepaths #373

Description

@ozanmuyes

Using Pongo2 v6 on Windows and using embed.FS as the argument for NewFSLoader "unable to resolve template" error thrown. This is due to using Windows path seperator (i.e. "\\") instead of Unix (i.e. "/") in pongo2.template_loader.Get().

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