mirror of
https://github.com/hanzoai/swc.git
synced 2026-10-30 19:42:53 +00:00
## 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
3 lines
65 B
HTML
3 lines
65 B
HTML
<html>
|
|
<head></head><body><span><p>TEXT</p></span>
|
|
</body></html> |