<html> <head> <script type='text/javascript'> var tag = '<input type="hidden" name="foo" value="bar"/>'; </script> </head> <body> body </body> </html>
./html_input_rx test.html input tag #1 at character 57: name => "foo" type => "hidden" value => "bar"
but very cool and could probably be fixed to handle that case quite easily.
<html> <head> <script type='text/javascript'> var tag = '<input type="hidden" name="foo" value="bar"/>'; </script> </head> <body> body </body> </html>
./html_input_rx test.html input tag #1 at character 57: name => "foo" type => "hidden" value => "bar"
but very cool and could probably be fixed to handle that case quite easily.