- Substituted every el.localName call with getLocalName in getDiffableHTML function
- Using data-tag-name instead to retrieve original tag name
- Update readme explanation and examples accordingly
- Adding a test for the new default functionality
Adds a `stripEmptyAttributes` option, which defaults to
`['class', 'id']`, which when encountering an empty
instance of that attr (i.e. `class=""`),
will remove it from the resulting string.
affects: @open-wc/semantic-dom-diff
Fixes#554