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

Report more-helpful message for *No p element in scope but a p end tag seen*

Open
#103 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
java
Domain
tooling

Research direction

Start by reproducing the reported validator result for whitemagic.it and trace how the parser handles the

end tag in this case. Determine what makes the current diagnostic unhelpful, then verify that the resulting message is clearer for the reported input.

Written by the indexing model from the issue text.

Description

enhancement

When checking the site whitemagic.it the following error is reported;

Error: No p element in scope but a p end tag seen.
From line 117, column 17; to line 117, column 20

It appears this is an invalid error.

Dominant language
Java
Stars
65
Forks
29
Avg merge
11d 21h
Merged PRs (30d)
3

Contributor guide

Open the contributing guide

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 validator/htmlparser

All issues in validator/htmlparser

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.