Adjusted EmbedToHtml5 to use parameterized array for excluded attributes.