algolia / algolia/diffable-html

svg attributes

Open
#54 3 comments 0 reactions 0 assignees View on GitHub
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.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.