'span' => true, 'strike' => true, 'strong' => true, 'sub' => true,
'sup' => true, 'textarea' => true, 'tt' => true, 'u' => true,
'var' => true,
+ // Those defined in tidy.conf
+ 'video' => true, 'audio' => true, 'bdi' => true, 'data' => true,
+ 'time' => true, 'mark' => true,
],
];
}
foreach ( $this->elements as $elt ) {
array_push( $r, $elt->localName );
}
- return implode( $r, ' ' );
+ return implode( ' ', $r );
}
}
}
);
if ( count( $bad ) > 0 ) {
- $badstr = implode( array_keys( $bad ), ',' );
+ $badstr = implode( ',', array_keys( $bad ) );
throw new ParameterAssertionException(
'$config',
'Balance attempted with sanitization including ' .