From ac3f855d4f1d5a56bee85be81fe033a527762dea Mon Sep 17 00:00:00 2001 From: Johannes Jung <81969656+JohaJung@users.noreply.github.com> Date: Wed, 4 Jun 2025 19:59:27 +0200 Subject: [PATCH] bugfix: form input discovery BeatifulSoup considers inputs as equal if they have the same HTML representation. This broke checks like `tag in list_of_tags` in an unexpected way. --- CHANGELOG.rst | 4 +++- tests/html/form_inputs.html | 4 ++++ tests/test_forms.py | 2 ++ webtest/forms.py | 13 +++++++++---- 4 files changed, 18 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 5650df2..ab594cc 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -4,7 +4,9 @@ News 3.0.6 (unreleased) ------------------ -- Nothing changed yet. +- Fix a bug that inputs outside of a ``
+ + +