Open wichert opened 11 years ago
Interestingly changing <hr/>
to <hr />
(ie adding a space before the slash) seems to work around this bug.
same thing happens with <br/>
and <br />
here https://gist.github.com/zigdon/c91e323a47676dbc6065
The first two hidden inputs are found, the two text fields are not, the last two inputs (checkbox and submit) are.
I have a xhtml form which looks roughly like this:
The submit button on this form is not found by mechanize. This appears to be due to the
<hr/>
element: as soon as I remove that the submit button is found correctly.