Warning: Undefined variable $UploadMaxSize in /home/kongdmdu/pmichaud/pmwiki/local/PITS.php on line 8

Warning: Undefined variable $UploadMaxSize in /home/kongdmdu/pmichaud/pmwiki/local/PITS.php on line 9

Warning: Undefined variable $UploadMaxSize in /home/kongdmdu/pmichaud/pmwiki/local/PITS.php on line 10

Warning: Undefined variable $UploadMaxSize in /home/kongdmdu/pmichaud/pmwiki/local/PITS.php on line 11
01335: Invalid HTML by line break before form - PITS - PmWiki

01335: Invalid HTML by line break before form

Summary: Invalid HTML by line break before form
Created: 2014-02-01 05:08
Status: Open
Category: Bug
Assigned:
Priority: 1
Version: 2.2.60
OS:

Description: when a form is preceded by "\\", the resulting HTML is invalid: The form and p blocks are interleaved.

This yields invalid HTML:\\
(:input form method=get:)
(:input text name=foo:)
(:input end:)

yields this HTML:

<p>This yields invalid HTML:<br /><form method='get'>
<input type='text' name='foo' class='inputbox' />
</p></form>

Demo: This yields invalid HTML:

See the source of this page.

Since the line break in front of the form is not needed, it's no problem to avoid this case. OliverBetz February 01, 2014, at 05:09 AM