Skip to content
Myr

fix(jsx/bun): do not escape children (#422)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

For JSX middleware on Bun. Fix bug that JSX `children` will force escaped.

authored by Yusuke Wada · committed by GitHub · parent 7091348 · Browse files · 3 files+35 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

3 files+35 added−2 removed

  • tests:+33 added−0 removed
  • other:+2 added−2 removed

3 files+35 added−2 removed

modified:bun_test/index.test.tsx+33 added
modified:deno_dist/middleware/jsx/jsx-dev-runtime.ts+1 added-1 removed
modified:src/middleware/jsx/jsx-dev-runtime.ts+1 added-1 removed