Not all JSON is valid
ericclemmons opened this issue · 2 comments
ericclemmons commented
Medium protects XSS or whatever by making JavaScript invalid:
https://medium.com/@ericclemmons/javascript-fatigue-48d4011b6fc4?format=json
So this should have a try
so that it isn't parsed erroneously.
ericclemmons commented
Or should it always be stored as text?
ericclemmons commented
I already fixed this IIRC.