Fix Liquid Include processing

This commit is contained in:
Grahame Grieve 2023-09-20 11:13:53 +10:00
parent 7517f181c7
commit 980ff89de3
1 changed files with 1 additions and 0 deletions

View File

@ -111,6 +111,7 @@ public class LiquidRenderer extends ResourceRenderer implements ILiquidRendering
LiquidEngine engine = new LiquidEngine(context.getWorker(), context.getServices());
XhtmlNode xn;
try {
engine.setIncludeResolver(new LiquidRendererIncludeResolver(context));
LiquidDocument doc = engine.parse(liquidTemplate, "template");
engine.setRenderingSupport(this);
String html = engine.evaluate(doc, r.getBase(), new LiquidRendererContxt(rcontext, r));