API / Minn\Html\Tree / Unsupported

Unsupported final class

Minn\Html\Tree\Unsupported · public/minn/src/Minn/Html/Tree/Unsupported.php · 16 lines · implements Stringable, Throwable · extends RuntimeException

Where the reference's HTML processor stops: markup whose tree it does not build (foster parenting, the adoption agency's hard cases, PLAINTEXT, content after </html>), with the token it stopped at and the state then.

Uses 1
Used by 1

Constants and properties

propreadonly Minn\Html\Tree\Token $token

Promoted from the constructor.

propreadonly string $tokenText

Promoted from the constructor.

propreadonly array $stack

Promoted from the constructor.

propreadonly array $formatting

Promoted from the constructor.

Public

new__construct(string $message, Minn\Html\Tree\Token $token, string $tokenText, array $stack, array $formatting)#
$stacklist<string>the stack of open elements, root first
$formattinglist<string>the active formatting elements