Skip to content

Lets the parser recognize new HTML5 body tags. - #3

Open
jmacdotorg wants to merge 1 commit into
kentfredric:masterfrom
jmacdotorg:RT-84526-html5
Open

Lets the parser recognize new HTML5 body tags.#3
jmacdotorg wants to merge 1 commit into
kentfredric:masterfrom
jmacdotorg:RT-84526-html5

Conversation

@jmacdotorg

Copy link
Copy Markdown

This simple change adds a list of valid new-to-HTML5 tags to one of the module's internal hashes of valid tags. This fixes the issue described in RT #84526.

The root cause of this issue lies within HTML::Tagset, but its maintainer is on-record of not supporting this change within that module, and has been for several years. So, I propose adding it here instead.

(This patch takes the same tack I have had to take with some of my own code that uses HTML::TreeBuilder.)

@Zarabozo

Copy link
Copy Markdown

This fix was submitted more than 2 years ago. What is going on? I had to add this to my scripts to have them recognize the 'nav' tag.

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@jmacdotorg@Zarabozo