class HtmlModule extends Module

Html tags module.

Properties

bool $passComment

Methods

__construct(Texy $texy)

No description

HtmlElement|string|null
patternComment(LineParser $parser, array $matches)

Callback for: .

HtmlElement|string|null
patternTag(LineParser $parser, array $matches)

Callback for: <tag attr=".

HtmlElement|string|null
solveTag(HandlerInvocation $invocation, HtmlElement $el, bool $isStart, bool $forceEmpty = null)

Finish invocation.

string
solveComment(HandlerInvocation $invocation, string $content)

Finish invocation.

Details

at line 26
__construct(Texy $texy)

Parameters

Texy $texy

at line 51
HtmlElement|string|null patternComment(LineParser $parser, array $matches)

Callback for: .

Parameters

LineParser $parser
array $matches

Return Value

HtmlElement|string|null

at line 62
HtmlElement|string|null patternTag(LineParser $parser, array $matches)

Callback for: <tag attr=".

..">.

Parameters

LineParser $parser
array $matches

Return Value

HtmlElement|string|null

at line 127
HtmlElement|string|null solveTag(HandlerInvocation $invocation, HtmlElement $el, bool $isStart, bool $forceEmpty = null)

Finish invocation.

Parameters

HandlerInvocation $invocation
HtmlElement $el
bool $isStart
bool $forceEmpty

Return Value

HtmlElement|string|null

at line 278
string solveComment(HandlerInvocation $invocation, string $content)

Finish invocation.

Parameters

HandlerInvocation $invocation
string $content

Return Value

string