Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Backport 2.15] Fix liquid syntax errors. #7796

Merged
merged 1 commit into from
Jul 22, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading