From 778738d3ac644911183e446b0832caab975dbdb3 Mon Sep 17 00:00:00 2001 From: Bryn Rhodes Date: Wed, 23 Feb 2022 20:20:38 -0700 Subject: [PATCH] Fix constructor argument --- .../src/main/java/org/hl7/fhir/r5/renderers/LiquidRenderer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/renderers/LiquidRenderer.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/renderers/LiquidRenderer.java index 856855a26..bc8eb4caa 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/renderers/LiquidRenderer.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/renderers/LiquidRenderer.java @@ -55,7 +55,7 @@ public class LiquidRenderer extends ResourceRenderer { LiquidEngine engine = new LiquidEngine(context.getWorker(), context.getServices()); XhtmlNode xn; try { - engine.setIncludeResolver(new LiquidRendererIncludeResolver(context.getTemplateProvider())); + engine.setIncludeResolver(new LiquidRendererIncludeResolver(context)); LiquidDocument doc = engine.parse(liquidTemplate, "template"); String html = engine.evaluate(doc, r, rcontext); xn = new XhtmlParser().parseFragment(html);