Do not produce self-closing <div/>

Validator says:
Self-closing syntax (/>) used on a non-void HTML element.

Change-Id: I9af3e3c22ce8918f0a15053d2dfa0b924c258aa7
This commit is contained in:
umherirrender 2015-08-11 14:02:59 +02:00
parent 40d4a704a8
commit 6c56c93c93

View file

@ -2072,7 +2072,7 @@ class AbuseFilter {
if ( is_null( $value ) )
$value = '';
$value = Xml::element( 'div', array( 'class' => 'mw-abuselog-var-value' ), $value );
$value = Xml::element( 'div', array( 'class' => 'mw-abuselog-var-value' ), $value, false );
$trow =
Xml::tags( 'td', array( 'class' => 'mw-abuselog-var' ), $keyDisplay ) .