We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In this HTML
$ cat TMP/textarea <!doctype html> <html> <body> <div class="contentRead" id="target"> <noscript> <textarea name="content">essai 3</textarea> </noscript> </div> </body> </html> $
pup can't find textarea
$ pup textarea < TMP/textarea $
Also, I noticed something strange when I select noscript.
$ pup noscript < TMP/textarea <noscript> <textarea name="content">essai 3</textarea> </noscript> $
Thoughts?
The text was updated successfully, but these errors were encountered:
It's a (very old) Go HTML parser issue, that treats <noscript> content as text: golang/go#16318
<noscript>
It's fixed in <head>, but not in <body>:
<head>
<body>
$ cat test.html <!doctype html> <html> <head> <textarea name="nonsense">essai 2</textarea> </head> <body> <div class="contentRead" id="target"> <noscript> <textarea name="content">essai 3</textarea> </noscript> </div> </body> </html> $ pup textarea < test.html <textarea name="nonsense"> essai 2 </textarea>
Sorry, something went wrong.
No branches or pull requests
In this HTML
pup can't find textarea
Also, I noticed something strange when I select noscript.
Thoughts?
The text was updated successfully, but these errors were encountered: