swc/crates/swc_xml_codegen/tests/fixture
Cong-Cong Pan 769d6516a5
fix(xml/codegen): Fix wrong minification of spaces in a self-closing tag (#7595)
**Description:**

xml codegen with option `minify: true`.

input:
```xml
<foo attributeName="OK" />
```

expected:
```xml
<foo attributeName="OK"/>
```

actual:

```xml
<foo attributeName="OK" />
```

---

We already escape the attribute value in `escape_string` function, so we
do not need to check whether it contains a specific string.
2023-06-29 06:11:34 +00:00
..
base fix(xml/codegen): Fix wrong minification of spaces in a self-closing tag (#7595) 2023-06-29 06:11:34 +00:00
cdata_section feat(xml/parser): Parse cdata section (#6531) 2022-11-29 07:51:42 +00:00
elements feat(xml): Add xml crates (#5329) 2022-08-01 03:56:12 +00:00