AngleSharp by Florian Rappl

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

 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.