(start, end)
| 470 | }, |
| 471 | |
| 472 | oncdata(start, end) { |
| 473 | if ((stack[0] ? stack[0].ns : currentOptions.ns) !== Namespaces.HTML) { |
| 474 | onText(getSlice(start, end), start, end) |
| 475 | } else { |
| 476 | emitError(ErrorCodes.CDATA_IN_HTML_CONTENT, start - 9) |
| 477 | } |
| 478 | }, |
| 479 | |
| 480 | onprocessinginstruction(start) { |
| 481 | // ignore as we do not have runtime handling for this, only check error |