(/** @type {StartTagToken} */ t)
| 6393 | // just insert the element and switch to "text" mode; text mode appends chars |
| 6394 | // and the matching end tag pops. |
| 6395 | const genericRawtext = (/** @type {StartTagToken} */ t) => { |
| 6396 | insertHtmlElement(t.name, t.attrs, t.pos); |
| 6397 | originalMode = mode; |
| 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; |
no test coverage detected