mirror of
https://github.com/friendica/friendica
synced 2024-05-13 08:19:41 +02:00
27 lines
466 B
PHP
27 lines
466 B
PHP
|
<?php
|
||
|
|
||
|
namespace League\HTMLToMarkdown\Converter;
|
||
|
|
||
|
use League\HTMLToMarkdown\ElementInterface;
|
||
|
|
||
|
class HorizontalRuleConverter implements ConverterInterface
|
||
|
{
|
||
|
/**
|
||
|
* @param ElementInterface $element
|
||
|
*
|
||
|
* @return string
|
||
|
*/
|
||
|
public function convert(ElementInterface $element)
|
||
|
{
|
||
|
return "- - - - - -\n\n";
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
* @return string[]
|
||
|
*/
|
||
|
public function getSupportedTags()
|
||
|
{
|
||
|
return array('hr');
|
||
|
}
|
||
|
}
|