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