remarkjs/remark-react

avoid double-escaping special characters

lukebaker opened this issue · 4 comments

Example used on demo https://www.mapbox.com/mdast-react/:

console.log('&, <, >, ", \', and `');

results in:

console.log(&apos;&amp;, &lt;, &gt;, &quot;, \&apos;, and &grave;&apos;);
tmcw commented

Fixed in a13fd4b - need to scope out possible other cases of double-encoding

Looking good. Thanks!

@lukebaker Safe to close?