mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-11-24 06:03:49 +00:00
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:
parent
40d4a704a8
commit
6c56c93c93
|
@ -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 ) .
|
||||
|
|
Loading…
Reference in a new issue