Conditions | 2 |
Paths | 2 |
Total Lines | 11 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Tests | 6 |
CRAP Score | 2 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
36 | 120 | public function parse(InlineParserContext $inlineContext) |
|
37 | { |
||
38 | 120 | $cursor = $inlineContext->getCursor(); |
|
39 | 120 | if ($m = $cursor->match(RegexHelper::getInstance()->getHtmlTagRegex())) { |
|
40 | 69 | $inlineContext->getContainer()->appendChild(new HtmlInline($m)); |
|
41 | |||
42 | 69 | return true; |
|
43 | } |
||
44 | |||
45 | 51 | return false; |
|
46 | } |
||
47 | } |
||
48 |