ZTUtils.Zope make_hidden_input's output is invalid as XHTML 1.0
Bug #728307 reported by
Kazuhiko
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zope 2 |
Invalid
|
Medium
|
Unassigned |
Bug Description
Hello,
ZTUtils.Zope make_hidden_input's output is like:
<input type="hidden" name="foo" value="bar">
it is valid as HTML 3.2 / 4.01 / 5, but invalid as XHTML 1.0.
But if it's output becomes like:
<input type="hidden" name="foo" value="bar" />
it is valid as all HTML 3.2 / 4.01 / 5, and XHTML 1.0.
A patch to change like this is attached.
Regards,
Kazuhiko
Changed in zope2: | |
importance: | Undecided → Medium |
status: | New → Confirmed |
To post a comment you must log in.
The zope2 project on Launchpad has been archived at the request of the Zope developers (see https:/ /answers. launchpad. net/launchpad/ +question/ 683589 and https:/ /answers. launchpad. net/launchpad/ +question/ 685285). If this bug is still relevant, please refile it at https:/ /github. com/zopefoundat ion/zope2.