Skip to content

Conversation

vladshut
Copy link

Fix parsing html with tag that has 'tag' attribute.
Now it you will try to parse html like <html><body tag="body"></body></html> it fails.

aurelie-vndl added a commit to weconnectdata/php-html-parser that referenced this pull request Mar 29, 2023
mr-chetan added a commit to devanoxltd/php-html-parser that referenced this pull request Aug 24, 2025
Replaces direct tag property access with getTag() method in the Parser class to improve encapsulation and consistency when checking for 'script' tags.

https: //github.com/paquettg/pull/311
Co-Authored-By: Vladyslav Shut <[email protected]>
Sign up for free to 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.

1 participant