popcodeorg / popcodeorg/popcode
In HTML, missing opening quotation mark causes everything else to get ignored by validator
Open
Nobody has claimed this yet.
bug
help wanted
- Dominant language
- JavaScript
- Stars
- 191
- Forks
- 143
- Avg merge
- 4d 11h
- Merged PRs (30d)
- 5
Description
<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
</head>
<div id=red"
</div>
<div id=blue>
</div>
<div id=yellow>
</div>
<div id=black>
</div>
Not only does this not throw a validation error, but nothing after the id=red" line is validated at all.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Use the HTML example as the reproduction and start by locating the validator entry point responsible for parsing attributes. Add a regression test for the missing opening quote, then verify that it reports an error and continues validating the later elements instead of ignoring them.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- html, javascript
- Domain
- web-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100