import IDocument from '../nodes/document/IDocument.js'; import * as PropertySymbol from '../PropertySymbol.js'; import NamespaceURI from '../config/NamespaceURI.js'; import HTMLScriptElement from '../nodes/html-script-element/HTMLScriptElement.js'; import IElement from '../nodes/element/IElement.js'; import HTMLLinkElement from '../nodes/html-link-element/HTMLLinkElement.js'; import IDocumentType from '../nodes/document-type/IDocumentType.js'; import INode from '../nodes/node/INode.js'; import IDocumentFragment from '../nodes/document-fragment/IDocumentFragment.js'; import HTMLElementConfig from '../config/HTMLElementConfig.js'; import * as Entities from 'entities'; import HTMLElementConfigContentModelEnum from '../config/HTMLElementConfigContentModelEnum.js'; /** * Markup RegExp. * * Group 1: Beginning of start tag (e.g. "div" in ""). * Group 3: Comment with ending "--" (e.g. " Comment 1 " in ""). * Group 4: Comment without ending "--" (e.g. " Comment 1 " in "|