libwww-perl / libwww-perl/HTML-Parser

<title> tag triggers end event

Open
#22 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Perl
Stars
7
Forks
15
Avg merge
12h 8m
Merged PRs (30d)
2

Description

The sentence "Here is a <title> tag" triggers an end event at the end of the sentence, despite there being no closing HTML tag.

As far as I can tell, this occurs when a block of text ends with a <title> tag followed by text.
I haven't found any tag other than <title> that causes this issue.

tested with HTML::Parser 3.71 & 3.76

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.

Research direction

Reproduce the issue using the sentence shown in the report with HTML::Parser 3.71 or 3.76, then inspect how the parser handles a block ending with an unclosed <title> tag. Done means the sentence no longer triggers an end event without a closing HTML tag, with a regression test covering the reported case.

Written by the indexing model from the issue text.

Assessment

Tech stack
perl
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.