MCPcopy
hub / github.com/webpack/webpack / genericRcdata

Function genericRcdata

lib/html/syntax.js:6400–6405  ·  view source on GitHub ↗
(/** @type {StartTagToken} */ t, swallow = false)

Source from the content-addressed store, hash-verified

6398 mode = MODE_TEXT;
6399 };
6400 const genericRcdata = (/** @type {StartTagToken} */ t, swallow = false) => {
6401 insertHtmlElement(t.name, t.attrs, t.pos);
6402 if (swallow) t.swallowNewline = true;
6403 originalMode = mode;
6404 mode = MODE_TEXT;
6405 };
6406
6407 modes.text = (t) => {
6408 if (t.type === TOKEN_CHAR) {

Callers 2

buildHtmlAstFunction · 0.85
startTagInBodyFunction · 0.85

Calls 1

insertHtmlElementFunction · 0.85

Tested by

no test coverage detected