Whether the processor paused because the input HTML document ended in the middle of a syntax element, such as in the middle of a tag.
Description
Example:
$processor = new WP_HTML_Tag_Processor( '<input type="text" value="Th' );
false === $processor->get_next_tag();
true === $processor->paused_at_incomplete_token();
Source
'html' !== $this->parsing_namespace ||
1 !== strspn( $this->html, 'iIlLnNpPsStTxX', $this->tag_name_starts_at, 1 )
) {
Changelog
Version | Description |
---|---|
6.5.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.