Index: wp-includes/post-template.php
===================================================================
--- wp-includes/post-template.php	(revision 19315)
+++ wp-includes/post-template.php	(working copy)
@@ -1165,7 +1165,7 @@
 	$post_title = esc_attr( $_post->post_title );
 
 	if ( $text )
-		$link_text = esc_attr( $text );
+		$link_text = $text;
 	elseif ( $size && 'none' != $size )
 		$link_text = wp_get_attachment_image( $id, $size, $icon );
 	else
