**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.