Index: wp-includes/formatting.php
===================================================================
--- wp-includes/formatting.php	(revision 48740)
+++ wp-includes/formatting.php	(working copy)
@@ -5243,7 +5243,7 @@
 	global $_links_add_target;
 	$_links_add_target = $target;
 	$tags              = implode( '|', (array) $tags );
-	return preg_replace_callback( "!<($tags)([^>]*)>!i", '_links_add_target', $content );
+	return preg_replace_callback( "!<($tags)(\s[^>]*)?>!i", '_links_add_target', $content );
 }
 
 /**
