Page MenuHomePhabricator

Invalid HTML markup created for "Createbox" by inputbox.php
Closed, ResolvedPublic

Description

Author: carl.duisberg

Description:
The following example
<pre>
<inputbox>
type=create
break=no
prefix=Forum:Ideen/
preload=Vorlage:Forumkopf/{{PAGENAME}}
buttonlabel=Neues Thema hinzufügen
</inputbox>
</pre>
creates invalid HTML.

The following tag is opened but not closed:
<pre>
<input type='hidden' name="action" value="edit" >
<pre>


Version: unspecified
Severity: normal

Details

Reference
bz7089

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:26 PM
bzimport set Reference to bz7089.
bzimport added a subscriber: Unknown Object (MLST).

carl.duisberg wrote:

Create correct HTML for create boxes.

The appended patch eliminates the problem with open input tag.

Attached:

carl.duisberg wrote:

Closing tags is mandatory in XHTML as opposed to HTML 4.0.
Mediawiki 1.7.1 creates XHTML output.

rotemliss wrote:

Applied to r16157, with several other XHTML fixes.