Skip to content

Commit

Permalink
Fix liquid syntax errors. (#7785)
Browse files Browse the repository at this point in the history
* Fix liquid syntax errors.

Signed-off-by: Archer <[email protected]>

* Update render-template.md

Signed-off-by: Naarcha-AWS <[email protected]>

* Update _api-reference/render-template.md

Co-authored-by: kolchfa-aws <[email protected]>
Signed-off-by: Naarcha-AWS <[email protected]>

* Update _api-reference/render-template.md

Co-authored-by: kolchfa-aws <[email protected]>
Signed-off-by: Naarcha-AWS <[email protected]>

---------

Signed-off-by: Archer <[email protected]>
Signed-off-by: Naarcha-AWS <[email protected]>
Co-authored-by: kolchfa-aws <[email protected]>
  • Loading branch information
Naarcha-AWS and kolchfa-aws committed Jul 22, 2024
1 parent b2abf25 commit 1d2e444
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions _api-reference/render-template.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ Both of the following request examples use the search template with the template
"source": {
"query": {
"match": {
"play_name": "{{play_name}}"
"play_name": "{% raw %}{{play_name}}{% endraw %}"
}
}
},
Expand Down Expand Up @@ -76,11 +76,11 @@ If you don't want to use a saved template, or want to test a template before sav
```
{
"source": {
"from": "{{from}}{{^from}}10{{/from}}",
"size": "{{size}}{{^size}}10{{/size}}",
"from": "{% raw %}{{from}}{{^from}}0{{/from}}{% endraw %}",
"size": "{% raw %}{{size}}{{^size}}10{{/size}}{% endraw %}",
"query": {
"match": {
"play_name": "{{play_name}}"
"play_name": "{% raw %}{{play_name}}{% endraw %}"
}
}
},
Expand Down

0 comments on commit 1d2e444

Please sign in to comment.