go-simplejson icon indicating copy to clipboard operation
go-simplejson copied to clipboard

& < and > Is coded as \u0026 \u003c \u003e

Open advening opened this issue 3 years ago • 0 comments

When the encoded json field contains &, < or > symbols, they will be encoded in the form of ascii code. I know this is due to the json library and can be avoided by setEscapeHTML. Can you provide a similar function?

advening avatar Nov 13 '20 10:11 advening