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.
Adjusts the attribute name to the correct capitalization.
Adjusts the attribute name to the correct capitalization.
Adjusts the tag name to the correct capitalization.
public static IConstructableMathElement Setup(this IConstructableMathElement element, ref StructHtmlToken tag)
Setups a new math element with the attributes from the token.
public static IConstructableSvgElement Setup(this IConstructableSvgElement element, ref StructHtmlToken tag)
Setups a new SVG element with the attributes from the token.