Index: src/wp-mail.php
===================================================================
--- src/wp-mail.php	(revision 46809)
+++ src/wp-mail.php	(working copy)
@@ -171,7 +171,7 @@
 			$content = explode( $delim[0], $content );
 			$content = $content[1];
 		}
-		$content = strip_tags( $content, '<img><p><br><i><b><u><em><strong><strike><font><span><div>' );
+		$content = strip_tags( $content, ['img','p', 'br', 'i', 'b', 'u', 'em', 'strong', 'strike', 'font', 'span', 'div'] );
 	}
 	$content = trim( $content );
 
