Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

uppercase tagnames are not supported #252

Open
wizardforcel opened this issue Sep 7, 2023 · 0 comments
Open

uppercase tagnames are not supported #252

wizardforcel opened this issue Sep 7, 2023 · 0 comments

Comments

@wizardforcel
Copy link

In [8]: html = '<P>123<A>234</A>345</P>'

In [9]: root = pq(html)

In [12]: root
Out[12]: [<P>]

In [15]: root.eq(0).is_('p')
Out[15]: False

In [16]: root.eq(0).is_('P')
Out[16]: False

In [18]: elem = root[0]

In [19]: elem.tag
Out[19]: 'P'

In [21]: root.find('a')
Out[21]: []

In [22]: root.find('A')
Out[22]: []
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

No branches or pull requests

1 participant