### Eclipse Workspace Patch 1.0
#P wordpress-tests
Index: wordpress/wp-includes/formatting.php
===================================================================
--- wordpress/wp-includes/formatting.php	(revision 11324)
+++ wordpress/wp-includes/formatting.php	(working copy)
@@ -240,11 +240,11 @@
 	} elseif ( $quote_style === 'single' ) {
 		$quote_style = ENT_NOQUOTES;
 	}
-
+	
 	// Handle double encoding ourselves
 	if ( !$double_encode ) {
 		$string = wp_specialchars_decode( $string, $_quote_style );
-		$string = preg_replace( '/&(#?x?[0-9]+|[a-z]+);/i', '|wp_entity|$1|/wp_entity|', $string );
+		$string = preg_replace( '/&(#?x?[0-9A-Za-z]+);/i', '|wp_entity|$1|/wp_entity|', $string );
 	}
 
 	$string = @htmlspecialchars( $string, $quote_style, $charset );
