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
public function paused_at_incomplete_token(): bool {
return self::STATE_INCOMPLETE_INPUT === $this->parser_state;
}
Changelog
| Version | Description |
|---|---|
| 6.5.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.