Files
Donny/강동윤andGitHub ef82ca615e fix(html/codegen): keep </p> for span-parent paragraphs (#11756)
## Summary
- avoid omitting `</p>` when the parent is `<span>` during HTML tag
omission
- add regression fixture for `swc_html_codegen` (`issue-11748`)
- add recovery fixture for `swc_html_minifier` (`issue-11748`)

## Verification
- `cargo test -p swc_html_codegen --test fixture -- --ignored
issue_11748`
- `cargo test -p swc_html_minifier --test fixture -- --ignored
issue_11748`
- `cargo test -p swc_html_codegen`
- `cargo test -p swc_html_minifier`
- `cargo fmt --all`
- `cargo clippy --all --all-targets -- -D warnings`

Closes #11748
2026-03-31 08:05:42 +00:00

2 lines
25 B
HTML