ember-cli-fastboot icon indicating copy to clipboard operation
ember-cli-fastboot copied to clipboard

(Needlessly) Escaped content in the Shoebox

Open arjansingh opened this issue 9 years ago • 1 comments

SimpleDOM escapes all text node content. If the shoebox has a string with an &, <, or > it will appear as escaped text on the client side when it is retrieved from the shoebox.

For example, putting { category: "R&B" } into the Shoebox will be retrieved as { category: "R&amp;B" }.

arjansingh avatar Aug 16 '16 03:08 arjansingh

FWIW I worked around this using base64 encoding, with the help of ember-cli-base64 to polyfill btoa and atob on node.js.

simonexmachina avatar Oct 12 '16 06:10 simonexmachina