Closed sibinx7 closed 6 years ago
This would be an issue for pug
, not here in spike. However, I'd recommend encoding your data to base64 so that you don't have a parsing issue with quotes, or escaping all quotes. Reshape will convert to all double quotes in the output, as you can see here. Switching single and double quotes in this specific instance should also solve the issue.
I need to add JSON on data attributes, but this not working. I use
pug
template languageProblem One
Problem 2
Result