Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

There is no difference between quoted and unquoted attrs

Open
#144 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
javascript
Domain
testing

Research direction

Reproduce the comparison with the two HTML snippets from the issue, then inspect the html-differ entry points and tests that handle attribute normalization. Determine how the tool could distinguish quoted and unquoted attributes without breaking its current equivalence behavior; done means the templating-engine cases are testable and covered by regression tests.

Written by the indexing model from the issue text.

Description

There is no difference for html-differ between such files:

<div class=a></div>

and

<div class="a"></div>

This is correct, but it doesn't allow to test different templating engines output.

Dominant language
JavaScript
Stars
217
Forks
45
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from bem/html-differ

All issues in bem/html-differ

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.