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

When the key name of the parameter is Chinese, the template cannot be resolved #63

Open
1 of 2 tasks
StrangeYear opened this issue Feb 17, 2022 · 1 comment
Open
1 of 2 tasks

Comments

@StrangeYear
Copy link

StrangeYear commented Feb 17, 2022

Checklist

  • I have searched the issue list
  • I have tested my example against Shopify Liquid. (This isn't necessary if the actual behavior is a panic, or an error for which IsTemplateError returns false.)

Expected Behavior

bindings := map[string]interface{}{
"app": "test_app",
"描述": "content",
}
template := 应用:{{app}} 描述:{{ 描述 }}
expected := 应用:test_app 描述:content

Actual Behavior

syntax error in "描述" in {{ 描述 }}

Detailed Description

Possible Solution

@SleepyBrett
Copy link

I'm not even sure a key name can have a slash '/' in it..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants