Total Complexity | 2 |
Total Lines | 21 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
14 | class ListBlockConverter implements ConverterInterface |
||
15 | { |
||
16 | /** |
||
17 | * Converts the specified element into a parsed string. |
||
18 | * |
||
19 | * @param \League\HTMLToMarkdown\ElementInterface $element |
||
20 | * @return string |
||
21 | */ |
||
22 | 3 | public function convert(ElementInterface $element) |
|
23 | { |
||
24 | 3 | return rtrim("\n" . $element->getValue()) . "\n"; |
|
25 | } |
||
26 | |||
27 | /** |
||
28 | * Returns the supported HTML tags. |
||
29 | * |
||
30 | * @return string[] |
||
31 | */ |
||
32 | 15 | public function getSupportedTags() |
|
35 | } |
||
36 | } |
||
37 |