File tree Expand file tree Collapse file tree 2 files changed +3
-8
lines changed
main/java/com/hubspot/jinjava/lib/fn/eager
test/resources/tags/macrotag Expand file tree Collapse file tree 2 files changed +3
-8
lines changed Original file line number Diff line number Diff line change @@ -114,10 +114,7 @@ public String reconstructImage() {
114114 EagerTagDecorator .buildSetTagForDeferredInChildContext (
115115 ImmutableMap .of (
116116 Context .DEFERRED_IMPORT_RESOURCE_PATH_KEY ,
117- interpreter
118- .getContext ()
119- .getPyishObjectMapper ()
120- .getAsPyishString (importFile .get ())
117+ PyishObjectMapper .getAsPyishString (importFile .get ())
121118 ),
122119 interpreter ,
123120 false
@@ -126,10 +123,7 @@ public String reconstructImage() {
126123 EagerTagDecorator .buildSetTagForDeferredInChildContext (
127124 ImmutableMap .of (
128125 Context .DEFERRED_IMPORT_RESOURCE_PATH_KEY ,
129- interpreter
130- .getContext ()
131- .getPyishObjectMapper ()
132- .getAsPyishString (currentDeferredImportResource )
126+ PyishObjectMapper .getAsPyishString (currentDeferredImportResource )
133127 ),
134128 interpreter ,
135129 false
Original file line number Diff line number Diff line change 11{% macro macro 1(options ={}) %}
22 <!-- code here, renders HTML -->
33{% endmacro %}
4+
45{% macro macro 2(options ={}) %}
56 <!-- some code, mainly formats passed options -->
67
You can’t perform that action at this time.
0 commit comments