ZTUtils.Zope make_hidden_input's output is invalid as XHTML 1.0

Bug #728307 reported by Kazuhiko
10
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

Revision history for this message
Kazuhiko (kazuhiko) wrote :
Changed in zope2:
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Colin Watson (cjwatson) wrote :

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/zopefoundation/zope2.

Changed in zope2:
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.