Commit 4bfaee0
committed
fix: correct astro JSX patch target string for DSD SSR on MDX content
The patch search string was missing the closing paren from the case
expression, causing it to silently fail. This resulted in custom elements
authored in MDX files (all component previews) being rendered as plain
HTML without Declarative Shadow DOM templates.
DSD coverage: 72% -> 99% (1167/1617 -> 1788/1805 elements).1 parent 76d8826 commit 4bfaee0
1 file changed
Lines changed: 10 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | 5 | | |
10 | | - | |
11 | | - | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
12 | 14 | | |
13 | | - | |
14 | | - | |
| 15 | + | |
| 16 | + | |
15 | 17 | | |
0 commit comments