import IDocument from '../nodes/document/IDocument.js'; import * as PropertySymbol from '../PropertySymbol.js'; import HTMLElementVoid from '../config/HTMLElementVoid.js'; import HTMLElementUnnestable from '../config/HTMLElementUnnestable.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 HTMLElementPlainText from '../config/HTMLElementPlainText.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 * as Entities from 'entities'; /** * 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 "|