mustache 2.1.1 → 2.1.2
raw patch · 3 files changed
+6/−2 lines, 3 files
Files
- CHANGELOG.md +4/−0
- mustache.cabal +1/−1
- src/Text/Mustache/Render.hs +1/−1
CHANGELOG.md view
@@ -1,5 +1,9 @@ # Mustache library changelog +## v2.1.2++- Fixed template cahce again, as the spec requires access to the previous cache in partials as well+ ## v2.1.1 - Fixed an error where the substitution of partials would not use the template cache of the new partial
mustache.cabal view
@@ -1,5 +1,5 @@ name: mustache-version: 2.1.1+version: 2.1.2 synopsis: A mustache template parser library. description: Allows parsing and rendering template files with mustache markup. See the
src/Text/Mustache/Render.hs view
@@ -183,7 +183,7 @@ Nothing -> tellError $ PartialNotFound pName Just t -> let ast' = handleIndent indent $ ast t- in substituteASTWithValAndCache ast' (partials t) context+ in substituteASTWithValAndCache ast' (partials t `HM.union` cPartials) context showValueType :: Value -> String