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

Escaping 'newline' when sending XML/JSON to HTML template #238

Open
jondezwaan opened this issue Sep 21, 2017 · 1 comment
Open

Escaping 'newline' when sending XML/JSON to HTML template #238

jondezwaan opened this issue Sep 21, 2017 · 1 comment

Comments

@jondezwaan
Copy link

When sending XML to flash templates, we're using CSV data regularly, which works well in the client. However, when I try to send the same data to an HTML template, JavaScript returns an error, concerning an illegal character, which is the newline.
Is it possible for the server or client to escape the newline character automatically, because escaping a 30 line CSV sheet manually, is quite cumbersome.

@Julusian
Copy link
Member

The same problem happens with ", which is especially painful when working with a template that receives json.

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

No branches or pull requests

3 participants