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?
Activity
[-]can't get the textattribute element[/-][+]can't get the textarea element[/+]gromgit commentedon Sep 7, 2022
It's a (very old) Go HTML parser issue, that treats
<noscript>content as text: golang/go#16318It's fixed in
<head>, but not in<body>: