Commit Graph

6 Commits

Author SHA1 Message Date
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
Cong-Cong Pan
b180d09e1d
fix(xml/codegen): Escape < and > in child (#7351) 2023-05-05 08:20:09 +00:00
Alexander Akait
01232f0988
fix(xml/parser): Fix various bugs (#6566) 2022-12-03 03:52:48 +00:00
Alexander Akait
7f8c4e04b2
feat(xml/parser): Parse cdata section (#6531) 2022-11-29 07:51:42 +00:00
Alexander Akait
638892071a
fix(xml/parser): Fix parsing of pi (#6450) 2022-11-16 04:10:02 +00:00
Alexander Akait
83e502367b
feat(xml): Add xml crates (#5329) 2022-08-01 03:56:12 +00:00