Fix constructor argument
This commit is contained in:
parent
8212604250
commit
778738d3ac
|
@ -55,7 +55,7 @@ public class LiquidRenderer extends ResourceRenderer {
|
||||||
LiquidEngine engine = new LiquidEngine(context.getWorker(), context.getServices());
|
LiquidEngine engine = new LiquidEngine(context.getWorker(), context.getServices());
|
||||||
XhtmlNode xn;
|
XhtmlNode xn;
|
||||||
try {
|
try {
|
||||||
engine.setIncludeResolver(new LiquidRendererIncludeResolver(context.getTemplateProvider()));
|
engine.setIncludeResolver(new LiquidRendererIncludeResolver(context));
|
||||||
LiquidDocument doc = engine.parse(liquidTemplate, "template");
|
LiquidDocument doc = engine.parse(liquidTemplate, "template");
|
||||||
String html = engine.evaluate(doc, r, rcontext);
|
String html = engine.evaluate(doc, r, rcontext);
|
||||||
xn = new XhtmlParser().parseFragment(html);
|
xn = new XhtmlParser().parseFragment(html);
|
||||||
|
|
Loading…
Reference in New Issue