Skip to content

v1.8.4

Choose a tag to compare

@JonathanMagnan JonathanMagnan released this 26 May 22:43
· 313 commits to master since this release

Download the library here

  • ADDED: UseOriginalName method to keep original name on attribute #199
var doc = new HtmlAgilityPack.HtmlDocument();

doc.LoadHtml(@"<svg version=""1.1"" xmlns=""http://www.w3.org/2000/svg"" xmlns:xlink=""http://www.w3.org/1999/xlink"" width=""100%"" height=""100%"" viewBox=""0 0 600 800"">
<rect x=""0"" y=""0"" fill=""#000007"" width=""600"" height=""100%""></rect>
<image width=""600"" height=""800"" xlink:href=""images/cover.jpg"" transform=""translate(0 0)""></image>
</svg>");


doc.UseAttributeOriginalName("svg");