// Show file deletion warnings and errors
$status = $archive->getFileStatus();
if( $status && !$status->isGood() ) {
- $out->addHTML( '<span class="error">' );
+ $out->addHTML( '<div class="error">' );
$out->addWikiText( $status->getWikiText( 'undelete-error-short', 'undelete-error-long' ) );
- $out->addHTML( '</span>' );
+ $out->addHTML( '</div>' );
}
}
}