@@ -31,7 +31,7 @@ public Object apply(
3131 EvaluationContext context ,
3232 int lineNumber )
3333 throws PebbleException {
34- var asciidoc = InternalContext . asciidoc (context );
34+ var asciidoc = AsciiDocContext . from (context );
3535 var pretty = args .getOrDefault ("pretty" , true ) == Boolean .TRUE ;
3636 return wrap (
3737 asciidoc .toJson (toJson (asciidoc , input ), pretty ),
@@ -54,7 +54,7 @@ public Object apply(
5454 EvaluationContext context ,
5555 int lineNumber )
5656 throws PebbleException {
57- var asciidoc = InternalContext . asciidoc (context );
57+ var asciidoc = AsciiDocContext . from (context );
5858 return wrap (
5959 asciidoc .toYaml (toJson (asciidoc , input )),
6060 args .getOrDefault ("wrap" , Boolean .TRUE ) == Boolean .TRUE ,
@@ -76,7 +76,7 @@ public Object apply(
7676 EvaluationContext context ,
7777 int lineNumber )
7878 throws PebbleException {
79- var asciidoc = InternalContext . asciidoc (context );
79+ var asciidoc = AsciiDocContext . from (context );
8080 return new SafeString (toAsciidoc (asciidoc , input ).table (args ));
8181 }
8282
@@ -94,7 +94,7 @@ public Object apply(
9494 EvaluationContext context ,
9595 int lineNumber )
9696 throws PebbleException {
97- var asciidoc = InternalContext . asciidoc (context );
97+ var asciidoc = AsciiDocContext . from (context );
9898 return new SafeString (toAsciidoc (asciidoc , input ).list (args ));
9999 }
100100 },
@@ -107,7 +107,7 @@ public Object apply(
107107 EvaluationContext context ,
108108 int lineNumber )
109109 throws PebbleException {
110- var asciidoc = InternalContext . asciidoc (context );
110+ var asciidoc = AsciiDocContext . from (context );
111111 var curl =
112112 switch (input ) {
113113 case OperationExt op ->
@@ -127,7 +127,7 @@ public Object apply(
127127 EvaluationContext context ,
128128 int lineNumber )
129129 throws PebbleException {
130- var asciidoc = InternalContext . asciidoc (context );
130+ var asciidoc = AsciiDocContext . from (context );
131131 var request =
132132 switch (input ) {
133133 case OperationExt op -> new HttpRequest (asciidoc , op , args );
@@ -157,7 +157,7 @@ public Object apply(
157157 EvaluationContext context ,
158158 int lineNumber )
159159 throws PebbleException {
160- var asciidoc = InternalContext . asciidoc (context );
160+ var asciidoc = AsciiDocContext . from (context );
161161 return toHttp (asciidoc , input , args ).render (args );
162162 }
163163
0 commit comments