Escaping 'newline' when sending XML/JSON to HTML template
jondezwaan opened this issue · comments
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.
The same problem happens with "
, which is especially painful when working with a template that receives json.