-
Notifications
You must be signed in to change notification settings - Fork 2k
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
\n's passed in context to a partial are replaced with \n\t\s\s #1216
Comments
Your partial expression is indented within your template element. |
Ah thank you. It seems unlikely that my issue is caused by that in my setup so I'll reopen if I'm able to reproduce it |
Np. You could keep your indenting (for code quality) and try using whitespace control to remove the injected indenting: {{~> partial}} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello,
I have put together a jsbin to better reproduce my issue : https://jsbin.com/yodoyu/edit?html,js,output.
Basically the string
value
displays fine if I only pass it to a template, but all\n
are replaced with\n\t\s\s
if it is passed through a partial.Thank you
The text was updated successfully, but these errors were encountered: