* r113886: use <div> instead of span to wrap element that has p tags.
[lhc/web/wiklou.git] / includes / specials / SpecialUndelete.php
index 34be6b0..af2fb1d 100644 (file)
@@ -1399,9 +1399,9 @@ class SpecialUndelete extends SpecialPage {
                // 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>' );
                }
        }
 }