enml-js icon indicating copy to clipboard operation
enml-js copied to clipboard

Entity encoding issues

Open mjmasn opened this issue 9 years ago • 0 comments

This library does not appear to be encoding entities correctly, for example with ampersand &, it will only encode the first occurrence.

&& -> && && -> && &&& -> &&&

The expected values for the three examples would be &&, &&, and &&&. Passing a mixture of encoded and non-encoded ampersands to the Evernote API returns an error.

screenshot from 2015-02-06 10 37 34

mjmasn avatar Feb 06 '15 10:02 mjmasn