Closed sebmck closed 9 years ago
require("acorn-jsx").parse('<p>foo <a href="test">bar</a> baz</p>;').body[0].expression.children[2];
results in
{ type: 'Literal', value: 'baz', raw: 'baz'
when it should be:
{ type: 'Literal', value: ' baz', raw: ' baz'
Wow, awesome! Thank you!
@sebmck Thanks, fixed.
results in
when it should be: