algolia / algolia/diffable-html
svg attributes
Open
- Dominant language
- JavaScript
- Stars
- 38
- Forks
- 8
- PR merge metrics
- No merged PRs in 30d
Description
format incorrectly changes camelcase attributes from SVG elements (and likely MathML etc.) to lowercase, e.g. `viewBox` becomes `viewbox`.
Replication:
```
import format from 'diffable-html'
console.log(format(''))
```
This is probably not an issue for comparing snapshots, but if you actually want the output of format to be correct, it's kind of important.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.