swc/crates/swc_xml_codegen/tests
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
..
fixture fix(xml/codegen): Fix wrong minification of spaces in a self-closing tag (#7595) 2023-06-29 06:11:34 +00:00
options fix(xml/parser): Fix parsing of pi (#6450) 2022-11-16 04:10:02 +00:00
fixture.rs feat(xml): Add xml crates (#5329) 2022-08-01 03:56:12 +00:00