Conditions | 2 |
Paths | 2 |
Total Lines | 10 |
Lines | 0 |
Ratio | 0 % |
Tests | 5 |
CRAP Score | 2 |
Changes | 0 |
1 | <?php |
||
36 | 324 | public function parse(InlineParserContext $inlineContext): bool |
|
37 | { |
||
38 | 324 | if ($m = $inlineContext->getCursor()->match('/^' . RegexHelper::PARTIAL_HTMLTAG . '/i')) { |
|
39 | 240 | $inlineContext->getContainer()->appendChild(new HtmlInline($m)); |
|
40 | |||
41 | 240 | return true; |
|
42 | } |
||
43 | |||
44 | 87 | return false; |
|
45 | } |
||
46 | } |
||
47 |