Titus
Titus
Right no, I know JS ASTs! And I think their (babel/marked/etc) choice is incorrect: it is better to treat an AST as data; so plain JSON, no instances. I was...
Closing this specific issue; improving the AST is welcome, as you saw in the other issues; though, it is intentional that ASTs here are data instead of giant complex APIs...
> `�` -> `U+FFFD` I think the behavior you show here has to do with https://html.spec.whatwg.org/multipage/parsing.html#numeric-character-reference-end-state. The 3rd point on surrogates. Which relates to #614.