From 437e07cb67544c00976c9d425719be4352695dbc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ozan=20M=C3=BCyessero=C4=9Flu?= Date: Fri, 10 Apr 2026 09:50:02 +0300 Subject: [PATCH] Normalize path separators in Get method #373 --- template_loader.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/template_loader.go b/template_loader.go index 8d88005..ae51369 100644 --- a/template_loader.go +++ b/template_loader.go @@ -29,7 +29,7 @@ func (l *FSLoader) Abs(base, name string) string { } func (l *FSLoader) Get(path string) (io.Reader, error) { - return l.fs.Open(path) + return l.fs.Open(filepath.ToSlash(path)) } // LocalFilesystemLoader represents a local filesystem loader with basic