Index: src/wp-includes/post-template.php
===================================================================
--- src/wp-includes/post-template.php	(revision 41155)
+++ src/wp-includes/post-template.php	(working copy)
@@ -382,7 +382,7 @@
 	}
 
 	if ( post_password_required( $post ) ) {
-		return __( 'There is no excerpt because this is a protected post.' );
+		return '<span class="post-password-state">' . __( 'There is no excerpt because this is a protected post.' ) . '</span>';
 	}
 
 	/**
