AngleSharp by AngleSharp

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

 HtmlForeignExtensions

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

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

public static StringOrMemory AdjustToMathAttribute(this StringOrMemory attributeName)

Adjusts the attribute name to the correct capitalization.

public static StringOrMemory AdjustToSvgAttribute(this StringOrMemory attributeName)

Adjusts the attribute name to the correct capitalization.

public static StringOrMemory SanatizeSvgTagName(this StringOrMemory localName)

Adjusts the tag name to the correct capitalization.

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

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