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

[Question] Rendering Arabic Content #377

Closed
elkhawajah opened this issue Oct 28, 2020 · 2 comments
Closed

[Question] Rendering Arabic Content #377

elkhawajah opened this issue Oct 28, 2020 · 2 comments
Labels

Comments

@elkhawajah
Copy link

elkhawajah commented Oct 28, 2020

So I am using handlebars to render emails, but also for email subject I also use handlebars to replace tokens.

A case I have is that I have a string like this "some arabic text here {{token}}"

The token is supposed to render a property that store an arabic text, what I get, is that the token arabic text render as :

فكرة مجدي&#1577

Not sure why this is happening, anyone has any experience explain what is done wrong ?

@oformaniuk
Copy link
Member

Similar issue: /issues/276

@elkhawajah
Copy link
Author

Thanks @zjklee after digging, using {{{}}} solved it, which prevents escaping. thanks!

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

No branches or pull requests

2 participants