AngleSharp by AngleSharp

<PackageReference Include="AngleSharp" Version="1.0.4" />

 HtmlForeignExtensions

static class HtmlForeignExtensions
A collection of useful helpers when working with foreign content.
public static void AdjustAttribute(this Element element, string name, string value)

Adds the attribute with the adjusted prefix, namespace and name.

public static string AdjustToMathAttribute(this string attributeName)

Adjusts the attribute name to the correct capitalization.

public static string AdjustToSvgAttribute(this string attributeName)

Adjusts the attribute name to the correct capitalization.

public static string SanatizeSvgTagName(this string localName)

Adjusts the tag name to the correct capitalization.

public static MathElement Setup(this MathElement element, HtmlTagToken tag)

Setups a new math element with the attributes from the token.

public static SvgElement Setup(this SvgElement element, HtmlTagToken tag)

Setups a new SVG element with the attributes from the token.