isHTMLIntegrationPoint method
Implementation
bool isHTMLIntegrationPoint(Element element) {
if (element.localName == 'annotation-xml' &&
element.namespaceUri == Namespaces.mathml) {
final enc = element.attributes['encoding']?.toAsciiLowerCase();
return enc == 'text/html' || enc == 'application/xhtml+xml';
} else {
return htmlIntegrationPointElements
.contains((element.namespaceUri, element.localName));
}
}