Fix HTML output arround HTMLForm's submit buttons when in vform
authorAlexandre Emsenhuber <ialex.wiki@gmail.com>
Thu, 21 Nov 2013 07:45:34 +0000 (08:45 +0100)
committerAlexandre Emsenhuber <ialex.wiki@gmail.com>
Sun, 15 Dec 2013 21:06:46 +0000 (22:06 +0100)
commit0311433ce51e41d5bd26e54d3caf4540e1d47b4d
tree268824aa21b7943560a605e532cb9ef2b58e9acd
parent0e0550a1ad503d398fc9186d0f333916fcb73728
Fix HTML output arround HTMLForm's submit buttons when in vform

$html in HTMLForm::getButtons() is vrapped in a <div></div> when in
vform mode but it contains a <span> tag without its closing
counterpart, thus making the HTML invalid.

And while I'm at it: put line breaks at better places.

Change-Id: I7ffa1bdd72d95188320c1b29d1c46a5f6f434cbe
includes/htmlform/HTMLForm.php