Commit 76d8571
authored
🐛 Escape generic type params in MDX to fix /x/worker/ page (#1142)
JSDoc comments containing generic type references like `Result<T>` were
being interpreted as JSX tags by MDX, causing the worker extension page
to fail with a parse error. Escape uppercase-starting angle bracket
patterns to HTML entities before MDX processing.1 parent 08f35c0 commit 76d8571
1 file changed
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
52 | 60 | | |
53 | 61 | | |
54 | 62 | | |
| |||
0 commit comments