From 31c7c80a5dd8cf148b869e6e6740941682c1e978 Mon Sep 17 00:00:00 2001 From: Matthew Butterick Date: Tue, 19 Feb 2019 12:55:42 -0800 Subject: [PATCH] more leniency with meta template path --- pollen/private/ts.rktd | 2 +- pollen/render.rkt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pollen/private/ts.rktd b/pollen/private/ts.rktd index 73ca494..87e4365 100644 --- a/pollen/private/ts.rktd +++ b/pollen/private/ts.rktd @@ -1 +1 @@ -1547067565 +1550609742 diff --git a/pollen/render.rkt b/pollen/render.rkt index 452c83a..8fa38b5 100644 --- a/pollen/render.rkt +++ b/pollen/render.rkt @@ -241,7 +241,7 @@ (define template-name (if (list? template-name-or-names) (findf (λ (tn) (eq? (get-ext tn) output-path-ext)) template-name-or-names) template-name-or-names)) - (and template-name (build-path (dirname source-path) template-name))))) + (and template-name (simplify-path (cleanse-path (build-path (dirname source-path) template-name))))))) (define (get-default-template source-path output-path-ext) (and output-path-ext