Commit 390e5b0
raw nodes should be labeled as element after conversion (#533)
`raw` returns the root node type as `root`, which ends up causing
double-processing issues. We swapped it to `jsx` to fix that, which ends up
causing the converted HAST to get picked off before it can be processed into
template strings, etc. The type should be `element` so that downstream
processing happens appropriately.1 parent fffa499 commit 390e5b0
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
68 | | - | |
| 68 | + | |
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
| |||
0 commit comments